summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2017-09-06 18:01:06 +0800
committeryangyan <yangyanyj@chinamobile.com>2017-09-06 18:01:17 +0800
commitc027c43269183e148067ee34c91d6262f32b38f2 (patch)
treef09041c607922f2f781b9f1f180962b72b011bea
parent754b1fd4fe99ac2d363afb389822030c8a7d5e5a (diff)
Update Dockerfile
Fix add-apt-repository command not found bug Issue-ID : VFC-298 Change-Id: Ifc2e5701ac77d4b8b54d8038eb50f47ce832adb7 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rwxr-xr-xems/microservice-standalone/src/main/assembly/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/ems/microservice-standalone/src/main/assembly/docker/Dockerfile b/ems/microservice-standalone/src/main/assembly/docker/Dockerfile
index b68033b..055cde7 100755
--- a/ems/microservice-standalone/src/main/assembly/docker/Dockerfile
+++ b/ems/microservice-standalone/src/main/assembly/docker/Dockerfile
@@ -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