Skip to content

Commit 41283ba

Browse files
author
Mike Place
authored
Merge pull request cachedout#27 from rallytime/add-debian-stretch
Add support for Debian 9 (Stretch)
2 parents c019421 + 87733fc commit 41283ba

File tree

4 files changed

+46
-0
lines changed

4 files changed

+46
-0
lines changed

debian9/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM debian:stretch
2+
3+
COPY base.txt /base.txt
4+
COPY dev_python27.txt /dev_python27.txt
5+
6+
RUN apt-get update
7+
RUN apt-get -y install wget python-pip python-dev --fix-missing
8+
RUN wget -O - https://repo.saltstack.com/apt/debian/9/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add -
9+
10+
COPY saltstack.list /etc/apt/sources.list.d/saltstack.list
11+
12+
RUN apt-get update
13+
14+
# Install Salt packages
15+
RUN apt-get -y install salt-master salt-minion salt-ssh salt-syndic salt-cloud salt-api
16+
17+
# Install other useful packages
18+
RUN apt-get -y install vim
19+
20+
RUN pip install --upgrade pip
21+
RUN pip install -r /dev_python27.txt
22+
23+
ENV PYTHONPATH=/testing/:/testing/salt-testing/
24+
ENV PATH=/testing/scripts/:/testing/salt/tests/:$PATH
25+
26+
VOLUME /testing

debian9/base.txt

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Jinja2
2+
msgpack-python>0.3
3+
PyYAML
4+
MarkupSafe
5+
requests>=1.0.0
6+
tornado>=4.2.1
7+
# Required by Tornado to handle threads stuff.
8+
futures>=2.0
9+
# from zmq
10+
pycrypto
11+
pyzmq

debian9/dev_python27.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-r base.txt
2+
3+
mock
4+
boto>=2.32.1
5+
moto>=0.3.6
6+
SaltTesting
7+
psutil
8+
-e git+https://github.com/s0undt3ch/unittest-xml-reporting.git#egg=unittest-xml-reporting

debian9/saltstack.list

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
deb http://repo.saltstack.com/apt/debian/9/amd64/latest stretch main

0 commit comments

Comments
 (0)