summaryrefslogtreecommitdiffstats
path: root/ansible-server/src/main/docker
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dt5972@att.com>2018-09-12 10:53:10 -0400
committerTimoney, Dan (dt5972) <dt5972@att.com>2018-09-12 10:53:10 -0400
commit12622054e9b501d4e7df9302cbfcd0b5968e3b59 (patch)
treebd623f2ee6792af96959b8be1114393663c47c3a /ansible-server/src/main/docker
parentbe3e583d1b519b31286a573f6ff3b49e03153997 (diff)
Add ansible-server to ccsdk
Add ansible-server to CCSDK (copied from sdnc) Change-Id: I1a351ada1b31cb6623ec2ef850a9d85f856ba41c Issue-ID: CCSDK-554 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Diffstat (limited to 'ansible-server/src/main/docker')
-rw-r--r--ansible-server/src/main/docker/Dockerfile29
1 files changed, 29 insertions, 0 deletions
diff --git a/ansible-server/src/main/docker/Dockerfile b/ansible-server/src/main/docker/Dockerfile
new file mode 100644
index 00000000..86b368c9
--- /dev/null
+++ b/ansible-server/src/main/docker/Dockerfile
@@ -0,0 +1,29 @@
+# Base ubuntu with added packages needed for open ecomp
+FROM onap/ccsdk-ubuntu-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
+
+
+
+# copy files needed
+COPY opt /opt/
+
+WORKDIR /opt/onap/sdnc
+
+#ENTRYPOINT exec startAnsibleServer.sh
+#CMD ["/bin/bash"]
+EXPOSE 8000
+