From dc4950ba68c4c6dadd530f7f808bbb4c9458571d Mon Sep 17 00:00:00 2001 From: Taka Cho Date: Tue, 29 Jan 2019 09:30:22 -0500 Subject: 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 --- ansible-server/src/main/docker/Dockerfile | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'ansible-server/src/main/docker/Dockerfile') 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 -- cgit 1.2.3-korg