Update Dockerfile 49/10549/1
authoryangyan <yangyanyj@chinamobile.com>
Wed, 6 Sep 2017 10:01:06 +0000 (18:01 +0800)
committeryangyan <yangyanyj@chinamobile.com>
Wed, 6 Sep 2017 10:01:17 +0000 (18:01 +0800)
Fix add-apt-repository command not found bug

Issue-ID : VFC-298
Change-Id: Ifc2e5701ac77d4b8b54d8038eb50f47ce832adb7
Signed-off-by: yangyan <yangyanyj@chinamobile.com>
ems/microservice-standalone/src/main/assembly/docker/Dockerfile

index b68033b..055cde7 100755 (executable)
@@ -7,7 +7,7 @@ ENV http_proxy $HTTP_PROXY
 ENV https_proxy $HTTPS_PROXY
 
 
-
+RUN apt-get update && apt-get install -y software-properties-common
 RUN sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk 
 
 ADD . /service