Skip to content

Instantly share code, notes, and snippets.

@rjhowe
Created September 1, 2022 15:37
Show Gist options
  • Save rjhowe/7231cd3f5c59f78ea9557173cb1be70c to your computer and use it in GitHub Desktop.
Save rjhowe/7231cd3f5c59f78ea9557173cb1be70c to your computer and use it in GitHub Desktop.
Just a basic Containerfile template.
FROM quay.io/fedora/fedora
RUN dnf -y update && dnf clean all && \
INSTALL_PKGS="\
ncat \
openssl \
&& \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
ENTRYPOINT ["/bin/bash"]
CMD [/bin/echo, "hello"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment