Code Review
/
ccsdk
/
distribution.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
pom updates
[ccsdk/distribution.git]
/
ansible-server
/
src
/
main
/
docker
/
Dockerfile
diff --git
a/ansible-server/src/main/docker/Dockerfile
b/ansible-server/src/main/docker/Dockerfile
index
86b368c
..
fd2037c
100644
(file)
--- a/
ansible-server/src/main/docker/Dockerfile
+++ b/
ansible-server/src/main/docker/Dockerfile
@@
-1,27
+1,22
@@
# Base ubuntu with added packages needed for open ecomp
# 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
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
COPY opt /opt/
# copy files needed
COPY opt /opt/
-WORKDIR /opt/onap/
sdnc
+WORKDIR /opt/onap/
ccsdk
#ENTRYPOINT exec startAnsibleServer.sh
#CMD ["/bin/bash"]
#ENTRYPOINT exec startAnsibleServer.sh
#CMD ["/bin/bash"]