Skip to content

Commit

Permalink
perf: 更新 docker 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai committed Jan 4, 2024
1 parent dd99b01 commit 3a7585d
Showing 1 changed file with 14 additions and 8 deletions.
22 changes: 14 additions & 8 deletions scripts/const.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,30 +26,36 @@ STATIC_ENV=${PROJECT_DIR}/static.env
. "${STATIC_ENV}"

export OS=$(uname -s)
export DOCKER_VERSION=24.0.6
export DOCKER_VERSION=24.0.7
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=abe35f3e3b728b677ec9ed24be1f6ffb
DOCKER_MD5=ad4add9b55f71c295e6f8f9e093eb53d
fi
if [[ "$(uname -m)" == "aarch64" ]]; then
DOCKER_MD5=f7a744ba0f6173ebb82c529503343e9a
DOCKER_MD5=89be712e6a933321362ced9a4d22baef
fi
if [[ "$(uname -m)" == "loongarch64" ]]; then
DOCKER_MD5=8beac2e56ccccb2fceaad428356fcbe5
DOCKER_MD5=124492bc9a838fb8e4917cac5833ceae
fi
if [[ "$(uname -m)" == "s390x" ]]; then
DOCKER_MD5=ca5586e1ba49cd5cab6fdcd03ac443c6
fi
export DOCKER_MD5

export DOCKER_COMPOSE_VERSION=v2.23.0
export DOCKER_COMPOSE_VERSION=v2.23.3
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=c15370d05632dbe64ddd862148fb73e9
DOCKER_COMPOSE_MD5=50445b4d2f531a6cf9c7d2ba614ff57c
fi
if [[ "$(uname -m)" == "aarch64" ]]; then
DOCKER_COMPOSE_MD5=266935a584be3ce4011047ee00df351c
DOCKER_COMPOSE_MD5=696a2a0020ff9a63799ef8148a2da85a
fi
if [[ "$(uname -m)" == "loongarch64" ]]; then
DOCKER_COMPOSE_MD5=240f14d62b2ddf1a9f999d61b80c862a
DOCKER_COMPOSE_MD5=a014a57a3439debcd991ac08a19582e7
fi
if [[ "$(uname -m)" == "s390x" ]]; then
DOCKER_COMPOSE_MD5=829d0b140e092b31be2993aac6aecca6
fi
export DOCKER_COMPOSE_MD5

0 comments on commit 3a7585d

Please sign in to comment.