Skip to content

Commit

Permalink
add podman and docker binaries
Browse files Browse the repository at this point in the history
In ansible#22 and ansible#23 the podman and docker molecule drivers were added,
but the respective binaries are still missing.

This commit adds the necesarry dependencies to the execution
enviroments bindep.txt.

This commit also adds some CLI commands to check we do not remove
them inadvertently and output some helpful version information at
build time.

Signed-off-by: Daniel Ziegenberg <[email protected]>
  • Loading branch information
ziegenberg committed Mar 16, 2022
1 parent 67b9e06 commit 235662d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ COPY --from=galaxy /usr/share/ansible /usr/share/ansible
COPY --from=builder /output/ /output/
RUN /output/install-from-bindep && rm -rf /output/wheels
RUN alternatives --set python /usr/bin/python3

RUN \
dnf update --assumeyes && \
dnf install --assumeyes podman && \
molecule --version && \
molecule drivers && \
ansible-lint --version && \
podman --version && \
git --version

0 comments on commit 235662d

Please sign in to comment.