Skip to content

Commit

Permalink
Merge pull request #361 from jumpserver/pr@dev@upgrade_docker_binaries
Browse files Browse the repository at this point in the history
perf: 更新 docker 版本
  • Loading branch information
ibuler authored Oct 24, 2023
2 parents e6a5ee8 + 69cbf85 commit 00eb814
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions scripts/const.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,30 @@ STATIC_ENV=${PROJECT_DIR}/static.env
. "${STATIC_ENV}"

export OS=$(uname -s)
export DOCKER_VERSION=23.0.6
export DOCKER_VERSION=24.0.6
export DOCKER_MIRROR="https://download.jumpserver.org/docker/docker-ce/linux/static/stable"
export DOCKER_BIN_URL="${DOCKER_MIRROR}/$(uname -m)/docker-${DOCKER_VERSION}.tgz"
if [[ "$(uname -m)" == "x86_64" ]]; then
DOCKER_MD5=8561a0d2e7dada07bf5cf42134bf5956
DOCKER_MD5=abe35f3e3b728b677ec9ed24be1f6ffb
fi
if [[ "$(uname -m)" == "aarch64" ]]; then
DOCKER_MD5=9d3a9bbbe8ba8199e62c5d2a8962d532
DOCKER_MD5=f7a744ba0f6173ebb82c529503343e9a
fi
if [[ "$(uname -m)" == "loongarch64" ]]; then
DOCKER_MD5=05053e0aac028d7715dfbb19fcc1621c
DOCKER_MD5=8beac2e56ccccb2fceaad428356fcbe5
fi
export DOCKER_MD5

export DOCKER_COMPOSE_VERSION=v2.20.3
export DOCKER_COMPOSE_VERSION=v2.23.0
export DOCKER_COMPOSE_MIRROR="https://download.jumpserver.org/docker/compose/releases/download"
export DOCKER_COMPOSE_BIN_URL="${DOCKER_COMPOSE_MIRROR}/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-$(uname -m)"
if [[ "$(uname -m)" == "x86_64" ]]; then
DOCKER_COMPOSE_MD5=9a5adbbae1d0dfe98fbf9eaf2c5091c3
DOCKER_COMPOSE_MD5=c15370d05632dbe64ddd862148fb73e9
fi
if [[ "$(uname -m)" == "aarch64" ]]; then
DOCKER_COMPOSE_MD5=b95ed5da3abb528cb883a1e30a9394a2
DOCKER_COMPOSE_MD5=266935a584be3ce4011047ee00df351c
fi
if [[ "$(uname -m)" == "loongarch64" ]]; then
DOCKER_COMPOSE_MD5=50aee63cbe90397debd66b6008f94d8c
DOCKER_COMPOSE_MD5=240f14d62b2ddf1a9f999d61b80c862a
fi
export DOCKER_COMPOSE_MD5

0 comments on commit 00eb814

Please sign in to comment.