Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Full description is empty for this repo.

Docker Pull Command
Owner
nanquanyuhao

Comments (2)
nanquanyuhao
4 months ago

FROM debian:wheezy

MAINTAINER nanquanyuhao nanquanyuhao@foxmail.com
RUN apt-get update && apt-get install -y cowsay fortune
COPY entrypoint.sh /

ENTRYPOINT ["/entrypoint.sh"]

nanquanyuhao
4 months ago

if [ $# -eq 0 ]; then
/usr/games/fortune | /usr/games/cowsay
else
/usr/games/cowsay "$@"
fi