You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by ur...@apache.org on 2022/05/10 11:45:05 UTC
[pulsar-site] branch fix/update-image created (now 77fa4d8debe)
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a change to branch fix/update-image
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
at 77fa4d8debe feat: update docker build image
This branch includes the following new commits:
new 77fa4d8debe feat: update docker build image
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[pulsar-site] 01/01: feat: update docker build image
Posted by ur...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
urfree pushed a commit to branch fix/update-image
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
commit 77fa4d8debefeb12f7f42cde3c321a22c6e248db
Author: Li Li <ur...@apache.org>
AuthorDate: Tue May 10 19:34:52 2022 +0800
feat: update docker build image
Signed-off-by: Li Li <ur...@apache.org>
---
site2/tools/docker-build-site.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/site2/tools/docker-build-site.sh b/site2/tools/docker-build-site.sh
index e07a283f5d4..653d4d67af2 100755
--- a/site2/tools/docker-build-site.sh
+++ b/site2/tools/docker-build-site.sh
@@ -27,7 +27,7 @@ ROOT_DIR=$(git rev-parse --show-toplevel)
cd $ROOT_DIR/pulsar-client-cpp
BUILD_IMAGE_NAME="${BUILD_IMAGE_NAME:-apachepulsar/pulsar-build}"
-BUILD_IMAGE_VERSION="${BUILD_IMAGE_VERSION:-ubuntu-16.04-pb3-website}"
+BUILD_IMAGE_VERSION="${BUILD_IMAGE_VERSION:-ubuntu-16.04-pb3-website-jdk17}"
IMAGE="$BUILD_IMAGE_NAME:$BUILD_IMAGE_VERSION"
@@ -47,6 +47,6 @@ DOCKER_CMD="docker run -i -e CI_USER=$CI_USER -e CI_GROUP=$CI_GROUP -v $HOME/.m2
sed -i "s#$ROOT_DIR#/pulsar#g" $ROOT_DIR/distribution/server/target/classpath.txt
sed -i "s#$HOME#/root#g" $ROOT_DIR/distribution/server/target/classpath.txt
-CMD="export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 && cd /pulsar && /pulsar/site2/tools/build-site.sh $@"
+CMD="cd /pulsar && /pulsar/site2/tools/build-site.sh $@"
echo "docker exec cmd: "$CMD
$DOCKER_CMD bash -l -c "$CMD"
\ No newline at end of file