-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (17 loc) · 733 Bytes
/
Copy pathDockerfile
File metadata and controls
26 lines (17 loc) · 733 Bytes
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
FROM ubuntu:16.04
COPY base.txt /base.txt
COPY dev_python27.txt /dev_python27.txt
RUN apt-get update
RUN apt-get -y install wget
RUN wget -O - https://repo.saltstack.com/apt/ubuntu/16.04/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add -
COPY saltstack.list /etc/apt/sources.list.d/saltstack.list
RUN apt-get update
# Install Salt packages
RUN apt-get -y install salt-master salt-minion salt-ssh salt-syndic salt-cloud salt-api vim tmux wget python-pip curl
RUN pip install --upgrade pip
RUN pip install --upgrade -r /dev_python27.txt
RUN pip install --upgrade CherryPy
RUN pip install --upgrade pyopenssl
ENV PYTHONPATH=/testing/:/testing/salt-testing/
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
VOLUME /testing