-
Notifications
You must be signed in to change notification settings - Fork 3
/
Dockerfile
18 lines (16 loc) · 840 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Container build on the podman in podman image described here:
# https://www.redhat.com/sysadmin/podman-inside-container
#
# Build a Podman container image from the latest
# stable version of Podman on the Fedoras Updates System.
# https://bodhi.fedoraproject.org/updates/?search=podman
# This image can be used to create a secured container
# that runs safely with privileges within the container.
#
#
FROM quay.io/podman/stable
RUN dnf install -y python3-pip python3-paramiko man-db less git
RUN python3 -m pip install ansible ansible-navigator
RUN mkdir /home/podman/ansible
ADD https://raw.githubusercontent.com/rhmk/ansible-cli-container/main/ansible-navigator.yml /home/podman/.ansible-navigator.yml
RUN cp /home/podman/.ansible-navigator.yml /root/.ansible-navigator.yml; chown podman:podman /home/podman/.ansible-navigator.yml