Skip to content

Commit

Permalink
[website] fix: website build fail due to java home setting wrong in d…
Browse files Browse the repository at this point in the history
…ocker container (apache#13586)

Signed-off-by: LiLi <[email protected]>
  • Loading branch information
urfreespace authored Dec 31, 2021
1 parent 0738a08 commit 4997ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site2/tools/docker-build-site.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ 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

$DOCKER_CMD bash -l -c 'cd /pulsar && /pulsar/site2/tools/build-site.sh'
$DOCKER_CMD bash -l -c 'export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 && cd /pulsar && /pulsar/site2/tools/build-site.sh'

0 comments on commit 4997ef9

Please sign in to comment.