summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-15 09:32:50 +0800
committerChuyi Guo <guochuyi@chinamobile.com>2020-09-15 01:48:06 +0000
commite1935063bd3cbaf1e5439168d84b137d8ce5e73f (patch)
tree3dbbd6e60a66f95375c563a7459a753bfb77c2d3
parent6f97fec478e5c8c6a704e82f4714ee4c3f6059ab (diff)
ci: update java 11 installation package
Change-Id: I95119fd9188aa343104f01d4aeb368ea0bb136a7 Issue-ID: USECASEUI-484 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
-rw-r--r--distribution/src/main/assembly/Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile
index 05248d8c..1771c00e 100644
--- a/distribution/src/main/assembly/Dockerfile
+++ b/distribution/src/main/assembly/Dockerfile
@@ -3,6 +3,9 @@ FROM ubuntu:16.04
EXPOSE 8443
RUN apt-get update && \
+ apt-get install -y python-software-properties && \
+ apt-get install -y software-properties-common && \
+ add-apt-repository -y ppa:openjdk-r/ppa && \
apt-get install -y openjdk-11-jdk
#configure the JDK