This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new dfaed52d32 [docker] Update compile Dockerfile in developer (#10339)
dfaed52d32 is described below

commit dfaed52d32dd25366deebea66446bbca8be19800
Author: FreeOnePlus <54164178+freeonep...@users.noreply.github.com>
AuthorDate: Thu Jul 28 10:35:56 2022 +0800

    [docker] Update compile Dockerfile in developer (#10339)
    
    
    Co-authored-by: manyi <f...@freeoneplus.com>
---
 docker/Dockerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docker/Dockerfile b/docker/Dockerfile
index 5ada8feaf2..ffdf585271 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -50,7 +50,7 @@ RUN wget 
https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/ldb_toolchain_ge
 # there is a repo which is included all of thirdparty
 ENV REPOSITORY_URL="https://doris-thirdparty-repo.bj.bcebos.com/thirdparty/"; \
     DEFAULT_DIR="/var/local" \
-    JAVA_HOME="/usr/lib/jvm/java-11" \
+    JAVA_HOME="/usr/lib/jvm/java-1.8.0" \
     PATH="/var/local/ldb-toolchain/bin/:$PATH"
 
 # disable auto enable ccache
@@ -66,13 +66,13 @@ RUN cd ${DEFAULT_DIR}/doris && /bin/bash 
thirdparty/build-thirdparty.sh \
     && mv ${DEFAULT_DIR}/doris/thirdparty/installed ${DEFAULT_DIR}/thirdparty/ 
\
     && rm -rf ${DEFAULT_DIR}/doris
 
-RUN alternatives --set java java-11-openjdk.x86_64 && alternatives --set javac 
java-11-openjdk.x86_64
+RUN alternatives --set java java-1.8.0-openjdk.x86_64 && alternatives --set 
javac java-1.8.0-openjdk.x86_64
 
 
 # squash all layers to reduce the image size
 FROM scratch
 COPY --from=builder / /
-ENV JAVA_HOME="/usr/lib/jvm/java-11" \
+ENV JAVA_HOME="/usr/lib/jvm/java-1.8.0" \
     MAVEN_HOME="/usr/share/maven" \
     REPOSITORY_URL="https://doris-thirdparty-repo.bj.bcebos.com/thirdparty"; \
     DEFAULT_DIR="/var/local" \


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to