fix: fix bugs of java 11 installation 87/112687/1
authorcyuamber <xuranyjy@chinamobile.com>
Tue, 15 Sep 2020 10:28:40 +0000 (18:28 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Tue, 15 Sep 2020 10:28:45 +0000 (18:28 +0800)
Change-Id: I4746cd066d4b2f43f844ff3b0f17129d6c45d224
Issue-ID: USECASEUI-484
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
distribution/src/main/assembly/Dockerfile

index a173bae..20f6b91 100644 (file)
@@ -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 && \