Revert "Backport Dublin ansible server"
[ccsdk/distribution.git] / ansible-server / src / main / docker / Dockerfile
1 # Base ubuntu with added packages needed for open ecomp
2 FROM onap/ccsdk-ubuntu-image:${project.docker.latestfulltag.version}
3
4 LABEL maintainer="SDN-C Team (sdnc@lists.openecomp.org)"
5
6 ARG PIP_TAG=18.0
7
8 ##Vim
9 RUN apt-get update
10 RUN apt-get -y install apt-file
11 RUN apt-file update
12 RUN apt-get -y install vim
13
14 ##Python:
15 RUN apt-get -y install python2.7
16 RUN apt-get -y install python-pip
17
18 # copy files needed
19 COPY opt /opt/
20
21 WORKDIR /opt/onap/ccsdk
22
23
24 RUN pip install --no-cache-dir --upgrade pip==$PIP_TAG
25 RUN pip install --no-cache-dir -r /opt/onap/ccsdk/requirements.txt
26
27 #ENTRYPOINT exec startAnsibleServer.sh
28 #CMD ["/bin/bash"]
29 EXPOSE 8000
30