You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/07/28 02:36:01 UTC
[doris] branch master updated: [docker] Update compile Dockerfile in developer (#10339)
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 <54...@users.noreply.github.com>
AuthorDate: Thu Jul 28 10:35:56 2022 +0800
[docker] Update compile Dockerfile in developer (#10339)
Co-authored-by: manyi <fo...@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-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org