From 137578efe82b346a7c129b3e316542a9006b5506 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E5=B0=8F=E7=99=BD?= <296015668@qq.com> Date: Fri, 22 Mar 2024 09:27:28 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20docker=2026.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- compose/docker-compose-celery-xpack.yml | 2 -- compose/docker-compose-celery.yml | 2 -- compose/docker-compose-chen.yml | 2 -- compose/docker-compose-core-xpack.yml | 2 -- compose/docker-compose-core.yml | 2 -- compose/docker-compose-es.yml | 2 -- compose/docker-compose-init-db-xpack.yml | 2 -- compose/docker-compose-init-db.yml | 2 -- compose/docker-compose-kael.yml | 2 -- compose/docker-compose-koko.yml | 2 -- compose/docker-compose-lb.yml | 2 -- compose/docker-compose-lion.yml | 2 -- compose/docker-compose-magnus-xpack.yml | 2 -- compose/docker-compose-magnus.yml | 2 -- compose/docker-compose-mariadb.yml | 2 -- compose/docker-compose-minio.yml | 2 -- compose/docker-compose-mysql.yml | 2 -- compose/docker-compose-network.yml | 2 -- compose/docker-compose-network_v6.yml | 2 -- compose/docker-compose-panda.yml | 2 -- compose/docker-compose-razor.yml | 2 -- compose/docker-compose-redis.yml | 2 -- compose/docker-compose-video-worker.yml | 2 -- compose/docker-compose-video.yml | 2 -- compose/docker-compose-web.yml | 2 -- compose/docker-compose-xrdp.yml | 2 -- scripts/const.sh | 20 ++++++++++---------- 27 files changed, 10 insertions(+), 62 deletions(-) diff --git a/compose/docker-compose-celery-xpack.yml b/compose/docker-compose-celery-xpack.yml index 4a40d672..324ebc2b 100644 --- a/compose/docker-compose-celery-xpack.yml +++ b/compose/docker-compose-celery-xpack.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: celery: image: ${REGISTRY:-docker.io}/jumpserver/core-ee:${VERSION} \ No newline at end of file diff --git a/compose/docker-compose-celery.yml b/compose/docker-compose-celery.yml index 767f6e40..a5921097 100644 --- a/compose/docker-compose-celery.yml +++ b/compose/docker-compose-celery.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: celery: image: ${REGISTRY:-docker.io}/jumpserver/core-ce:${VERSION} diff --git a/compose/docker-compose-chen.yml b/compose/docker-compose-chen.yml index 1ec1b833..fbf6d2fb 100644 --- a/compose/docker-compose-chen.yml +++ b/compose/docker-compose-chen.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: chen: image: ${REGISTRY:-docker.io}/jumpserver/chen:${VERSION} diff --git a/compose/docker-compose-core-xpack.yml b/compose/docker-compose-core-xpack.yml index 9b72e928..934cc478 100644 --- a/compose/docker-compose-core-xpack.yml +++ b/compose/docker-compose-core-xpack.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: core: image: ${REGISTRY:-docker.io}/jumpserver/core-ee:${VERSION} \ No newline at end of file diff --git a/compose/docker-compose-core.yml b/compose/docker-compose-core.yml index 41ea7d17..d684c26c 100644 --- a/compose/docker-compose-core.yml +++ b/compose/docker-compose-core.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: core: image: ${REGISTRY:-docker.io}/jumpserver/core-ce:${VERSION} diff --git a/compose/docker-compose-es.yml b/compose/docker-compose-es.yml index e4c64655..d17c7f27 100644 --- a/compose/docker-compose-es.yml +++ b/compose/docker-compose-es.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: es: image: docker.elastic.co/elasticsearch/elasticsearch:7.17.16 diff --git a/compose/docker-compose-init-db-xpack.yml b/compose/docker-compose-init-db-xpack.yml index c4693175..b6a33364 100644 --- a/compose/docker-compose-init-db-xpack.yml +++ b/compose/docker-compose-init-db-xpack.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: core: image: ${REGISTRY:-docker.io}/jumpserver/core-ee:${VERSION} diff --git a/compose/docker-compose-init-db.yml b/compose/docker-compose-init-db.yml index 17ad1424..991ad635 100644 --- a/compose/docker-compose-init-db.yml +++ b/compose/docker-compose-init-db.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: core: image: ${REGISTRY:-docker.io}/jumpserver/core-ce:${VERSION} diff --git a/compose/docker-compose-kael.yml b/compose/docker-compose-kael.yml index 4b7c5ad3..c91ab3c4 100644 --- a/compose/docker-compose-kael.yml +++ b/compose/docker-compose-kael.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: kael: image: ${REGISTRY:-docker.io}/jumpserver/kael:${VERSION} diff --git a/compose/docker-compose-koko.yml b/compose/docker-compose-koko.yml index bf017b3c..b5a6fe72 100644 --- a/compose/docker-compose-koko.yml +++ b/compose/docker-compose-koko.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: koko: image: ${REGISTRY:-docker.io}/jumpserver/koko:${VERSION} diff --git a/compose/docker-compose-lb.yml b/compose/docker-compose-lb.yml index e9c5885a..f7757f16 100644 --- a/compose/docker-compose-lb.yml +++ b/compose/docker-compose-lb.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: web: ports: diff --git a/compose/docker-compose-lion.yml b/compose/docker-compose-lion.yml index 61ed7374..31a7a2e3 100644 --- a/compose/docker-compose-lion.yml +++ b/compose/docker-compose-lion.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: lion: image: ${REGISTRY:-docker.io}/jumpserver/lion:${VERSION} diff --git a/compose/docker-compose-magnus-xpack.yml b/compose/docker-compose-magnus-xpack.yml index 5cc46e7d..069136eb 100644 --- a/compose/docker-compose-magnus-xpack.yml +++ b/compose/docker-compose-magnus-xpack.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: magnus: ports: diff --git a/compose/docker-compose-magnus.yml b/compose/docker-compose-magnus.yml index 624f58ce..833e85b3 100644 --- a/compose/docker-compose-magnus.yml +++ b/compose/docker-compose-magnus.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: magnus: image: ${REGISTRY:-docker.io}/jumpserver/magnus:${VERSION} diff --git a/compose/docker-compose-mariadb.yml b/compose/docker-compose-mariadb.yml index b7405f85..889ad609 100644 --- a/compose/docker-compose-mariadb.yml +++ b/compose/docker-compose-mariadb.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: mysql: image: jumpserver/mariadb:10.6 diff --git a/compose/docker-compose-minio.yml b/compose/docker-compose-minio.yml index 1d0f9d66..1dca767e 100644 --- a/compose/docker-compose-minio.yml +++ b/compose/docker-compose-minio.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: minio: image: jumpserver/minio:latest diff --git a/compose/docker-compose-mysql.yml b/compose/docker-compose-mysql.yml index 489bb984..4786936d 100644 --- a/compose/docker-compose-mysql.yml +++ b/compose/docker-compose-mysql.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: mysql: image: jumpserver/mysql:5.7 diff --git a/compose/docker-compose-network.yml b/compose/docker-compose-network.yml index 9e98cf9f..335746b4 100644 --- a/compose/docker-compose-network.yml +++ b/compose/docker-compose-network.yml @@ -1,5 +1,3 @@ -version: '2.4' - networks: net: driver: bridge diff --git a/compose/docker-compose-network_v6.yml b/compose/docker-compose-network_v6.yml index 6690460f..24c74190 100644 --- a/compose/docker-compose-network_v6.yml +++ b/compose/docker-compose-network_v6.yml @@ -1,5 +1,3 @@ -version: '2.4' - networks: net: driver: bridge diff --git a/compose/docker-compose-panda.yml b/compose/docker-compose-panda.yml index 8dc50fc1..8f0cc794 100644 --- a/compose/docker-compose-panda.yml +++ b/compose/docker-compose-panda.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: panda: image: ${REGISTRY:-docker.io}/jumpserver/panda:${VERSION} diff --git a/compose/docker-compose-razor.yml b/compose/docker-compose-razor.yml index e3bd1857..f3fd4dc6 100644 --- a/compose/docker-compose-razor.yml +++ b/compose/docker-compose-razor.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: razor: image: ${REGISTRY:-registry.fit2cloud.com}/jumpserver/razor:${VERSION} diff --git a/compose/docker-compose-redis.yml b/compose/docker-compose-redis.yml index 9d94f686..38cd7a55 100644 --- a/compose/docker-compose-redis.yml +++ b/compose/docker-compose-redis.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: redis: image: jumpserver/redis:6.2 diff --git a/compose/docker-compose-video-worker.yml b/compose/docker-compose-video-worker.yml index e24b6a52..c79fe93c 100644 --- a/compose/docker-compose-video-worker.yml +++ b/compose/docker-compose-video-worker.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: video: image: ${REGISTRY:-registry.fit2cloud.com}/jumpserver/video-worker:${VERSION} diff --git a/compose/docker-compose-video.yml b/compose/docker-compose-video.yml index 67e3ebd9..cc59c52b 100644 --- a/compose/docker-compose-video.yml +++ b/compose/docker-compose-video.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: video: image: ${REGISTRY:-registry.fit2cloud.com}/jumpserver/video-worker:${VERSION} diff --git a/compose/docker-compose-web.yml b/compose/docker-compose-web.yml index 3a3bfb2d..538fba0b 100644 --- a/compose/docker-compose-web.yml +++ b/compose/docker-compose-web.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: web: image: ${REGISTRY:-docker.io}/jumpserver/web:${VERSION} diff --git a/compose/docker-compose-xrdp.yml b/compose/docker-compose-xrdp.yml index 9de4fdda..d53d6449 100644 --- a/compose/docker-compose-xrdp.yml +++ b/compose/docker-compose-xrdp.yml @@ -1,5 +1,3 @@ -version: '2.4' - services: xrdp: image: ${REGISTRY:-registry.fit2cloud.com}/jumpserver/xrdp:${VERSION} diff --git a/scripts/const.sh b/scripts/const.sh index 71d1b67d..acd0fd27 100644 --- a/scripts/const.sh +++ b/scripts/const.sh @@ -26,36 +26,36 @@ STATIC_ENV=${PROJECT_DIR}/static.env . "${STATIC_ENV}" export OS=$(uname -s) -export DOCKER_VERSION=25.0.4 +export DOCKER_VERSION=26.0.0 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=417e91fcf5774d0f04c58d5500b1946f + DOCKER_MD5=908fb24b8e3712199b30d4b381af9bba fi if [[ "$(uname -m)" == "aarch64" ]]; then - DOCKER_MD5=9095035fc0700aacfc7262cf353e91e8 + DOCKER_MD5=b4868578258823e4b6ba1b83048dc5c1 fi if [[ "$(uname -m)" == "loongarch64" ]]; then - DOCKER_MD5=ec3634e6fec48aedbc903a9f47f7f6b0 + DOCKER_MD5=fb04660cdb594e2628361a0591078958 fi if [[ "$(uname -m)" == "s390x" ]]; then - DOCKER_MD5=794804888e312a8d912eac1b9a4ac3e4 + DOCKER_MD5=f417e4e6480c630ad3e527706610aa82 fi export DOCKER_MD5 -export DOCKER_COMPOSE_VERSION=v2.24.7 +export DOCKER_COMPOSE_VERSION=v2.26.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=a24c26e39af438437c8d664f109f8456 + DOCKER_COMPOSE_MD5=e134b610e8d72a9c0495c6b5c8910147 fi if [[ "$(uname -m)" == "aarch64" ]]; then - DOCKER_COMPOSE_MD5=d094e1551cb3c4de858aaff562bcd4d8 + DOCKER_COMPOSE_MD5=6206d8515890d7cf595d8de7004c159f fi if [[ "$(uname -m)" == "loongarch64" ]]; then - DOCKER_COMPOSE_MD5=987b6b6964431b86979e9fe6a00f98b5 + DOCKER_COMPOSE_MD5=6294da4fc0e19f394ea7c5648aa546f1 fi if [[ "$(uname -m)" == "s390x" ]]; then - DOCKER_COMPOSE_MD5=4b182bfbfb2ba190000b9ec2593898f1 + DOCKER_COMPOSE_MD5=7d4fd5f4fa1f1d76c2180f1974ccf57e fi export DOCKER_COMPOSE_MD5