One docker image to rule them all:
- fortune: for important information on the future
- cowsay: for cows telling the future
- pokemonsay: for pokemons telling the future
- ponysay: for ponies telling the future
Inspired by the following docker images:
Based on python:3.7-alpine3.9 to keep it small.
All these commands can be executed as expected:
» docker run --rm tammoippen/greeter fortune
Know what I hate most? Rhetorical questions.
-- Henry N. Camp
» docker run --rm tammoippen/greeter cowsay "Hello world!"
______________
< Hello world! >
--------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
» docker run --rm tammoippen/greeter pokemonsay -n -w 30 "Hello world!"
» docker run --rm tammoippen/greeter ponysay "Hello world!"
Pipe the fortune to the speaker - do not forget the -i
.
» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter cowsay
_____________________________________
/ As long as the answer is right, who \
\ cares if the question is wrong? /
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||
Randomly select the speaker:
» docker run --rm tammoippen/greeter fortune | docker run --rm -i tammoippen/greeter say
________________________________________
/ Committees have become so important \
| nowadays that subcommittees have to be |
\ appointed to do the work. /
----------------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
» docker run --rm tammoippen/greeter
_________________________________________
/ You can do this in a number of ways. \
| IBM chose to do all of them. Why do you |
| find that funny? |
| |
| -- D. Taylor, Computer Science 350, |
\ University of Washington /
-----------------------------------------
\ ____________
\ |__________|
/ /\
/ / \
/___________/___/|
| | |
| ==\ /== | |
| O O | \ \ |
| < | \ \|
/| | \ \
/ | \_____/ | / /
/ /| | / /|
/||\| | /||\/
-------------|
| | | |
<__/ \__>