diff options
author | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-19 09:52:21 -0500 |
---|---|---|
committer | Larry Smith Jr <mrlesmithjr@gmail.com> | 2018-12-20 00:55:35 -0500 |
commit | 7437143766ca1584696fe6e828b25ed83930f478 (patch) | |
tree | 23cc3da864f890f4158a7d431c2ac7a5ef02faee /tests/Dockerfile.fedora-29 | |
parent | 4353d29ae004cea98d3a80ef941aaa155c84bf9a (diff) | |
download | ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.tar.gz ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.tar.zst ansible-rabbitmq-7437143766ca1584696fe6e828b25ed83930f478.zip |
Added Travis testing
Diffstat (limited to 'tests/Dockerfile.fedora-29')
-rw-r--r-- | tests/Dockerfile.fedora-29 | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/Dockerfile.fedora-29 b/tests/Dockerfile.fedora-29 new file mode 100644 index 0000000..3f94b36 --- /dev/null +++ b/tests/Dockerfile.fedora-29 | |||
@@ -0,0 +1,26 @@ | |||
1 | FROM fedora:29 | ||
2 | ENV container=docker | ||
3 | |||
4 | RUN dnf -y install gmp-devel libffi-devel openssl-devel python-crypto \ | ||
5 | python-devel python-dnf python-pip python-setuptools python-virtualenv \ | ||
6 | redhat-rpm-config systemd && \ | ||
7 | dnf -y group install "C Development Tools and Libraries" | ||
8 | |||
9 | # Install systemd -- See https://hub.docker.com/_/centos/ | ||
10 | RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \ | ||
11 | rm -f /lib/systemd/system/multi-user.target.wants/*;\ | ||
12 | rm -f /etc/systemd/system/*.wants/*;\ | ||
13 | rm -f /lib/systemd/system/local-fs.target.wants/*; \ | ||
14 | rm -f /lib/systemd/system/sockets.target.wants/*udev*; \ | ||
15 | rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \ | ||
16 | rm -f /lib/systemd/system/basic.target.wants/*;\ | ||
17 | rm -f /lib/systemd/system/anaconda.target.wants/*; | ||
18 | |||
19 | RUN pip install enum34 ipaddress wheel && \ | ||
20 | pip install ansible ansible-lint | ||
21 | |||
22 | COPY .ansible-lint / | ||
23 | |||
24 | VOLUME ["/sys/fs/cgroup"] | ||
25 | |||
26 | CMD ["/usr/sbin/init"] | ||