You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2024/07/16 16:21:16 UTC
(iotdb) 01/01: Update do-docker-build.sh using jre 17
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch HTHou-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 0458da2e4ea5edb928adf78335ab6667694f9320
Author: Haonan <hh...@outlook.com>
AuthorDate: Wed Jul 17 00:21:09 2024 +0800
Update do-docker-build.sh using jre 17
---
docker/src/main/DockerCompose/do-docker-build.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/docker/src/main/DockerCompose/do-docker-build.sh b/docker/src/main/DockerCompose/do-docker-build.sh
index 96940cc2d78..92748dca805 100755
--- a/docker/src/main/DockerCompose/do-docker-build.sh
+++ b/docker/src/main/DockerCompose/do-docker-build.sh
@@ -106,11 +106,11 @@ function prepare_buildx(){
docker buildx create --name mybuilder --driver docker-container --bootstrap --use
docker run --rm --privileged tonistiigi/binfmt:latest --install all
fi
- find ${current_path}/../ -name 'Dockerfile-1.0.0*' | xargs sed -i 's#FROM openjdk:11-jre-slim#FROM --platform=$TARGETPLATFORM eclipse-temurin:11-jre-focal#g'
+ find ${current_path}/../ -name 'Dockerfile-1.0.0*' | xargs sed -i 's#FROM openjdk:11-jre-slim#FROM --platform=$TARGETPLATFORM eclipse-temurin:17-jre-focal#g'
else
docker_build="docker build" ;
docker_publish="" ;
- find ${current_path}/../ -name 'Dockerfile-1.0.0*' | xargs sed -i 's#FROM --platform=$TARGETPLATFORM eclipse-temurin:11-jre-focal#FROM openjdk:11-jre-slim#g'
+ find ${current_path}/../ -name 'Dockerfile-1.0.0*' | xargs sed -i 's#FROM --platform=$TARGETPLATFORM eclipse-temurin:17-jre-focal#FROM openjdk:11-jre-slim#g'
fi
}
function build_iotdb(){