Skip to content

Instantly share code, notes, and snippets.

@vilfu
Created April 30, 2021 06:42
Show Gist options
  • Select an option

  • Save vilfu/68bad0e22fc42291870d410cb55ff4b5 to your computer and use it in GitHub Desktop.

Select an option

Save vilfu/68bad0e22fc42291870d410cb55ff4b5 to your computer and use it in GitHub Desktop.
cowsay Dockerfile example
podman build -t cowsay .
$ podman run --rm cowsay "Use cowtainers!"
_________________
< Use cowtainers! >
-----------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
FROM alpine:3.13
LABEL maintainer="Ville ([email protected])"
RUN apk add git perl
RUN git clone https://github.com/schacon/cowsay.git /cowsay
ENV COWPATH /cowsay/cows
ENTRYPOINT ["perl", "/cowsay/cowsay"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment