@@ -2,6 +2,11 @@ FROM debian:jessie
2
2
3
3
MAINTAINER Werner Beroux <
[email protected] >
4
4
5
+ # Notes:
6
+ # - libaa-bin is aafire
7
+ # - perl, libcurses-perl and make are used to run asciiquarium for example.
8
+ # - curl, watch, imagemagick, vlc and youtube-dl are just useful for so many of those commands.
9
+
5
10
RUN apt-get update \
6
11
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
7
12
aview \
@@ -27,40 +32,36 @@ RUN apt-get update \
27
32
vlc \
28
33
watch \
29
34
xaos \
30
- && apt-get clean \
31
- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
32
35
33
- # Install lolcat and youtube-dl
34
- RUN echo "deb http://http.us.debian.org/debian sid main non-free contrib" >> /etc/apt/sources.list
35
- RUN apt-get update \
36
+ && echo " Install lolcat and youtube-dl" \
37
+ && echo "deb http://http.us.debian.org/debian sid main non-free contrib" >> /etc/apt/sources.list \
38
+ && apt-get update \
36
39
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
37
40
lolcat \
38
41
youtube-dl \
39
- && apt-get clean \
40
- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
41
42
42
- # Notes:
43
- # - libaa-bin is aafire
44
- # - perl, libcurses-perl and make are used to run asciiquarium for example.
45
- # - curl, watch, imagemagick, vlc and youtube-dl are just useful for so many of those commands.
46
-
47
- # Install asciiquarium
48
- RUN cpan -i Term::Animation \
43
+ && echo "Install asciiquarium" \
44
+ && cpan -i Term::Animation \
49
45
&& curl -L http://www.robobunny.com/projects/asciiquarium/asciiquarium.tar.gz -o asciiquarium.tar.gz \
50
46
&& tar -zxvf asciiquarium.tar.gz asciiquarium_1.1/asciiquarium \
51
47
&& cp asciiquarium_1.1/asciiquarium /usr/local/bin \
52
48
&& chmod 0755 /usr/local/bin/asciiquarium \
53
- && rm -rf asciiquarium_1.1 asciiquarium.tar.gz
49
+ && rm -rf asciiquarium_1.1 asciiquarium.tar.gz \
50
+
51
+ && echo "Install Falling Hearts" \
52
+ && curl -L https://yjl.googlecode.com/hg/Bash/falling-%3C3s.sh -o /usr/local/bin/falling-hearts \
53
+ && chmod +x /usr/local/bin/falling-hearts \
54
54
55
- # Install Falling Hearts
56
- RUN curl -L https://yjl.googlecode.com/hg/Bash/falling-%3C3s.sh -o /usr/local/bin/falling-hearts \
57
- && chmod +x /usr/local/bin/falling-hearts
55
+ && echo "Install pipes" \
56
+ && curl -L https://gist.githubusercontent.com/livibetter/4689307/raw/949e43fe2962c2c97c8b1d974ff93dd053d9bd37/pipes.sh -o /usr/local/bin/pipes \
57
+ && chmod +x /usr/local/bin/pipes \
58
+
59
+ && echo "Clean-up" \
60
+ && apt-get clean \
61
+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
58
62
59
- # Install pipes
60
- RUN curl -L https://gist.githubusercontent.com/livibetter/4689307/raw/949e43fe2962c2c97c8b1d974ff93dd053d9bd37/pipes.sh -o /usr/local/bin/pipes \
61
- && chmod +x /usr/local/bin/pipes
63
+ && useradd --uid 666 -m --shell /usr/sbin/nologin john
62
64
63
- RUN useradd --uid 666 -m --shell /usr/sbin/nologin john
64
65
USER john
65
66
66
67
# Include /usr/games in PATH
0 commit comments