aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Dockerfile.fedora-28
diff options
context:
space:
mode:
authorLarry Smith Jr <mrlesmithjr@gmail.com>2018-12-20 01:50:27 -0500
committerGitHub <noreply@github.com>2018-12-20 01:50:27 -0500
commitd58696271f166b50faa2705fdda6337c1ffb493c (patch)
tree031334f41175d9a4ddfc9c0769b911f775360f26 /tests/Dockerfile.fedora-28
parentc760a03786a2247c14129dfd22c0e0fe1357f094 (diff)
parent8273b06f4eb706a6e52d9806c30660c9bd6707d1 (diff)
downloadansible-rabbitmq-d58696271f166b50faa2705fdda6337c1ffb493c.tar.gz
ansible-rabbitmq-d58696271f166b50faa2705fdda6337c1ffb493c.tar.zst
ansible-rabbitmq-d58696271f166b50faa2705fdda6337c1ffb493c.zip
Merge pull request #20 from mrlesmithjr/refactoring-code
Refactoring code
Diffstat (limited to 'tests/Dockerfile.fedora-28')
-rw-r--r--tests/Dockerfile.fedora-2826
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/Dockerfile.fedora-28 b/tests/Dockerfile.fedora-28
new file mode 100644
index 0000000..1885bc7
--- /dev/null
+++ b/tests/Dockerfile.fedora-28
@@ -0,0 +1,26 @@
1FROM fedora:28
2ENV container=docker
3
4RUN 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/
10RUN (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
19RUN pip install enum34 ipaddress wheel && \
20 pip install ansible ansible-lint
21
22COPY .ansible-lint /
23
24VOLUME ["/sys/fs/cgroup"]
25
26CMD ["/usr/sbin/init"]