summaryrefslogtreecommitdiffstats
path: root/distribution/src
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2020-09-15 18:28:40 +0800
committercyuamber <xuranyjy@chinamobile.com>2020-09-15 18:28:45 +0800
commitdb488b9e48e432ad593fc8244512e0e2b79a48c6 (patch)
treed6be393fe84bf1ff8f702c35ab8a95dfe0d07ca3 /distribution/src
parent2af29c80cfe1f4c408e1a086be1d62f68814abc6 (diff)
fix: fix bugs of java 11 installation
Change-Id: I4746cd066d4b2f43f844ff3b0f17129d6c45d224 Issue-ID: USECASEUI-484 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'distribution/src')
-rw-r--r--distribution/src/main/assembly/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/distribution/src/main/assembly/Dockerfile b/distribution/src/main/assembly/Dockerfile
index a173baed..20f6b911 100644
--- a/distribution/src/main/assembly/Dockerfile
+++ b/distribution/src/main/assembly/Dockerfile
@@ -2,7 +2,8 @@ FROM ubuntu:16.04
EXPOSE 8443
-RUN apt-get install -y python-software-properties && \
+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 update && \