Created
April 30, 2021 06:42
-
-
Save vilfu/68bad0e22fc42291870d410cb55ff4b5 to your computer and use it in GitHub Desktop.
cowsay Dockerfile example
This file contains hidden or 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
| podman build -t cowsay . |
This file contains hidden or 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
| $ podman run --rm cowsay "Use cowtainers!" | |
| _________________ | |
| < Use cowtainers! > | |
| ----------------- | |
| \ ^__^ | |
| \ (oo)\_______ | |
| (__)\ )\/\ | |
| ||----w | | |
| || || |
This file contains hidden or 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
| 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