ansible/almalinux-8/Dockerfile

11 lines
370 B
Docker

FROM almalinux:8
RUN dnf -y install python3-pip epel-release \
&& dnf install -y ansible curl \
&& curl -L https://github.com/aelsabbahy/goss/releases/latest/download/goss-linux-amd64 -o /usr/local/bin/goss \
&& chmod +rx /usr/local/bin/goss \
&& touch ~/.netrc && chmod og-rw ~/.netrc \
&& pip3 install firewall
CMD ["ansible-playbook", "--help"]