Initial commit

This commit is contained in:
2022-01-08 17:41:12 +01:00
commit 12a5ea3132
30 changed files with 267 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
FROM debian:11-slim
RUN apt-get update && apt-get install -y cowsay \
&& apt-get clean
RUN mkdir -p /opt/alice
WORKDIR /opt/alice
COPY cow-say-alice.sh cow-say-alice.sh
RUN chmod +x cow-say-alice.sh
ADD http://jackbenny.se/docs/alice.txt alice.txt
CMD ["/opt/alice/cow-say-alice.sh"]

View File

@@ -0,0 +1,3 @@
#!/bin/bash
PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/games"
egrep "Down the Rabbit-Hole" alice.txt -A 7 | cowsay