Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,23 @@ | ||
FROM debian:jessie | ||
MAINTAINER George Lewis <schvin@schvin.net> | ||
ENV REFRESHED_AT 2015-04-24 | ||
|
||
# install | ||
RUN apt-get update -y && apt-get install -y figlet curl | ||
|
||
# extra fonts | ||
WORKDIR /tmp | ||
RUN curl -O ftp://ftp.figlet.org/pub/figlet/fonts/contributed.tar.gz | ||
RUN tar xfvz /tmp/contributed.tar.gz && cd contributed && cp -R * /usr/share/figlet && chmod -R g+rX,o+rX /usr/share/figlet | ||
|
||
# drop privs | ||
RUN groupadd s-figlet | ||
RUN useradd s-figlet -g s-figlet -d /home/s-figlet | ||
RUN mkdir /home/s-figlet | ||
RUN chown -R s-figlet:s-figlet /home/s-figlet | ||
ENV HOME /home/s-figlet | ||
USER s-figlet | ||
WORKDIR /home/s-figlet | ||
|
||
# run | ||
ENTRYPOINT [ "/usr/bin/figlet" ] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# dockerfile-figlet | ||
|
||
Example usage: | ||
|
||
`docker run -it figlet -f alligator docker` |