summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main/docker
diff options
context:
space:
mode:
authorTaka Cho <takamune.cho@att.com>2019-01-29 09:30:22 -0500
committerTaka Cho <takamune.cho@att.com>2019-01-29 10:07:50 -0500
commitdc4950ba68c4c6dadd530f7f808bbb4c9458571d (patch)
tree7e521574b04db47f5a6f7d2fddd67ab3f3f43904 /ansible-server/src/main/docker
parentdc379274e1cb70a2d7506641e4916f10f019e0fe (diff)
alpine build, implement to follow VNF anisble Req
1. change from ubuntu build to alpine build 2, follow the dir path for playbook - pls see JIRA Change-Id: Iaa2f7e3c9fc66542b1bc0751826821276f773efa Issue-ID: CCSDK-1009 Signed-off-by: Taka Cho <takamune.cho@att.com>
Diffstat (limited to 'ansible-server/src/main/docker')
-rw-r--r--ansible-server/src/main/docker/Dockerfile17
1 files changed, 6 insertions, 11 deletions
diff --git a/ansible-server/src/main/docker/Dockerfile b/ansible-server/src/main/docker/Dockerfile
index 68adaeb0..fd2037c2 100644
--- a/ansible-server/src/main/docker/Dockerfile
+++ b/ansible-server/src/main/docker/Dockerfile
@@ -1,21 +1,16 @@
# Base ubuntu with added packages needed for open ecomp
-FROM onap/ccsdk-ubuntu-image:${ccsdk.distribution.version}
+FROM onap/ccsdk-alpine-image:${ccsdk.distribution.version}
LABEL maintainer="SDN-C Team (sdnc@lists.openecomp.org)"
#ENV http_proxy=http://anonymous:password@one.proxy.att.com:8080
#ENV https_proxy=http://anonymous:password@one.proxy.att.com:8080
-##Vim
-RUN apt-get update
-RUN apt-get -y install apt-file
-RUN apt-file update
-RUN apt-get -y install vim
-
-##Python:
-RUN apt-get -y install python2.7
-RUN apt-get -y install python-pip
-
+## add more pkgs
+RUN apk update
+RUN apk add vim
+RUN apk add curl
+RUN apk add ansible
# copy files needed