Fix add-apt-repository
[sdnc/oam.git] / installation / ansible-server / src / main / docker / Dockerfile
1 # Base ubuntu with added packages needed for open ecomp
2 FROM onap/ccsdk-ubuntu-image:${ccsdk.distribution.version}
3
4 LABEL maintainer="SDN-C Team (sdnc@lists.openecomp.org)"
5
6 #ENV http_proxy=http://anonymous:password@one.proxy.att.com:8080
7 #ENV https_proxy=http://anonymous:password@one.proxy.att.com:8080
8
9 ##Vim
10 RUN apt-get update
11 RUN apt-get -y install apt-file
12 RUN apt-file update
13 RUN apt-get -y install vim
14
15 ##Python:
16 RUN apt-get -y install python2.7
17 RUN apt-get -y install python-pip
18
19 ##Ansible:
20 RUN apt-get -y install software-properties-common
21 RUN apt-add-repository -y ppa:ansible/ansible
22 RUN apt-get -y install ansible
23
24 # copy files needed
25 COPY opt /opt/
26
27 WORKDIR /opt/onap/sdnc
28
29 ENTRYPOINT exec startAnsibleServer.sh
30 #CMD ["/bin/bash"]
31 EXPOSE 8000
32