-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
# stable/Dockerfile | ||
# 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 | ||
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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters