aboutsummaryrefslogtreecommitdiffstats
path: root/installation/ansible-server/src/main/docker/Dockerfile
blob: 373e12d21dd392b7aa007d06a1cdeda3f494092e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# 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

##Ansible:
RUN apt-get -y install software-properties-common
RUN apt-add-repository ppa:ansible/ansible
RUN apt-get -y install ansible

# copy files needed
COPY opt /opt/

WORKDIR /opt/onap/sdnc

ENTRYPOINT exec startAnsibleServer.sh
#CMD ["/bin/bash"]
EXPOSE 8000