diff --git a/alpine-t/Dockerfile b/alpine-t/Dockerfile deleted file mode 100644 index b930f63..0000000 --- a/alpine-t/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM alpine:latest - -MAINTAINER Daniel Romero - -RUN apk update -RUN apk add ca-certificates ruby-dev build-base && rm -rf /var/cache/apk/* -RUN gem install t - -ENTRYPOINT [ "t" ] diff --git a/alpine-t/README.md b/alpine-t/README.md deleted file mode 100644 index f438f3f..0000000 --- a/alpine-t/README.md +++ /dev/null @@ -1,21 +0,0 @@ -alpine-t -========= -Docker image based on Alpine Linux ;) - -### What is Alpine ? - -Alpine Linux is a Linux distribution built around musl libc and BusyBox. -The image is only 5 MB in size and has access to a package repository -that is much more complete than other BusyBox based images. -More: [https://registry.hub.docker.com/_/alpine/](https://registry.hub.docker.com/_/alpine/) - -### Why ? - -Image based `ruby:latest` vs `alpine:latest`: - -``` -$ docker images -REPOSITORY TAG VIRTUAL SIZE -infoslack/alpine-t latest 161.4 MB -infoslack/t latest 781.5 MB -``` diff --git a/awscli/Dockerfile b/awscli/Dockerfile index d0c3cd5..8c7b7e4 100644 --- a/awscli/Dockerfile +++ b/awscli/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN pip install awscli -RUN mkdir -p /root/.aws && /bin/echo -e '[default]\noutput = json\nregion = $AMAZON_REGION\naws_access_key_id = $AMAZON_ACCESS_KEY_ID\naws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY' > /root/.aws/config +RUN mkdir -p /root/.aws \ + && /bin/echo -e '[default]\noutput = json\nregion = $AMAZON_REGION\naws_access_key_id = $AMAZON_ACCESS_KEY_ID\naws_secret_access_key = $AMAZON_SECRET_ACCESS_KEY' > /root/.aws/config ENTRYPOINT [ "aws" ] diff --git a/cathode/Dockerfile b/cathode/Dockerfile index 9963e28..73d5bf3 100644 --- a/cathode/Dockerfile +++ b/cathode/Dockerfile @@ -14,7 +14,8 @@ RUN apt-get update && apt-get install -y \ qml-module-qtquick-dialogs \ qml-module-qtquick-localstorage \ qml-module-qtquick-window2 \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* RUN git clone --recursive https://github.com/Swordfish90/cool-retro-term.git /src WORKDIR /src diff --git a/chromium/Dockerfile b/chromium/Dockerfile index a01a19c..cda41b5 100644 --- a/chromium/Dockerfile +++ b/chromium/Dockerfile @@ -37,10 +37,11 @@ RUN sed -i.bak 's/sid main/sid main contrib non-free/g' /etc/apt/sources.list && libpango1.0-0 \ libv4l-0 \ pepperflashplugin-nonfree \ - --no-install-recommends && \ - mkdir -p /etc/chromium.d/ && \ - /bin/echo -e 'export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"\nexport GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"\nexport GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"' > /etc/chromium.d/googleapikeys && \ - dpkg -i '/src/google-talkplugin_current_amd64.deb' + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p /etc/chromium.d/ \ + && /bin/echo -e 'export GOOGLE_API_KEY="AIzaSyCkfPOPZXDKNn8hhgu3JrA62wIgC93d44k"\nexport GOOGLE_DEFAULT_CLIENT_ID="811574891467.apps.googleusercontent.com"\nexport GOOGLE_DEFAULT_CLIENT_SECRET="kdloedMFGdGla2P1zacGjAQh"' > /etc/chromium.d/googleapikeys \ + && dpkg -i '/src/google-talkplugin_current_amd64.deb' ENTRYPOINT [ "/usr/bin/chromium" ] CMD [ "--user-data-dir=/data", "--no-sandbox" ] diff --git a/cloudapp/Dockerfile b/cloudapp/Dockerfile index 8d58cea..5854b5d 100644 --- a/cloudapp/Dockerfile +++ b/cloudapp/Dockerfile @@ -3,7 +3,8 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ libcurl3-dev \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # update gems # and install cloudapp diff --git a/consul-alerts/Dockerfile b/consul-alerts/Dockerfile index 9629481..579ba93 100644 --- a/consul-alerts/Dockerfile +++ b/consul-alerts/Dockerfile @@ -10,7 +10,8 @@ ADD https://jesss.s3.amazonaws.com/binaries/curl-unix-socket /usr/local/bin/curl RUN apt-get update && apt-get install -y \ ca-certificates \ curl \ - --no-install-recommends \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ && mkdir -p /etc/consul.d/ \ && chmod +x /usr/local/bin/consul \ && chmod +x /usr/local/bin/curl-unix-socket \ diff --git a/consul/Dockerfile b/consul/Dockerfile index 21ee5bc..9d2c4c6 100644 --- a/consul/Dockerfile +++ b/consul/Dockerfile @@ -10,7 +10,8 @@ COPY ./dist/ /usr/src/consul RUN apt-get update && apt-get install -y \ ca-certificates \ curl \ - --no-install-recommends \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ && mkdir -p /etc/consul.d/ \ && chmod +x /usr/local/bin/consul \ && chmod +x /usr/local/bin/curl-unix-socket diff --git a/doctor/Dockerfile b/doctor/Dockerfile index 8ead835..eb4fee5 100644 --- a/doctor/Dockerfile +++ b/doctor/Dockerfile @@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle # Install emacs RUN apt-get update && apt-get install -y \ emacs \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Autorun doctor CMD ["/usr/bin/emacs", "-f", "doctor"] diff --git a/dunnet/Dockerfile b/dunnet/Dockerfile index ac83101..f4db2f1 100644 --- a/dunnet/Dockerfile +++ b/dunnet/Dockerfile @@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle # Install emacs RUN apt-get update && apt-get install -y \ emacs \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Autorun dunnet CMD ["/usr/bin/emacs", "-batch", "-l", "dunnet"] diff --git a/evince/Dockerfile b/evince/Dockerfile index b924714..9cdde16 100644 --- a/evince/Dockerfile +++ b/evince/Dockerfile @@ -16,7 +16,9 @@ FROM debian:jessie MAINTAINER Christian Koep -RUN apt-get -qq update && apt-get install -y --no-install-recommends \ - evince +RUN apt-get -qq update && apt-get install -y \ + evince \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* CMD ["/usr/bin/evince"] diff --git a/firefox/Dockerfile b/firefox/Dockerfile index bb3383f..fd2c1be 100644 --- a/firefox/Dockerfile +++ b/firefox/Dockerfile @@ -12,7 +12,8 @@ RUN sed -i.bak 's/sid main/sid main contrib/g' /etc/apt/sources.list && \ libdbus-glib-1-2 \ libgl1-mesa-dri \ libgl1-mesa-glx \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENV FIREFOX_VERSION 38.0.5 diff --git a/fish/Dockerfile b/fish/Dockerfile index d753129..06b8584 100644 --- a/fish/Dockerfile +++ b/fish/Dockerfile @@ -6,6 +6,7 @@ RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-key D880C8E4 \ && apt-get update && apt-get install -y \ fish \ --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ && mkdir -p /root/.config/fish/completions ENTRYPOINT [ "fish" ] diff --git a/geary/Dockerfile b/geary/Dockerfile index d89eb9b..c408a28 100644 --- a/geary/Dockerfile +++ b/geary/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ geary \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "geary" ] diff --git a/gimp/Dockerfile b/gimp/Dockerfile index ddf798a..745ecac 100644 --- a/gimp/Dockerfile +++ b/gimp/Dockerfile @@ -13,6 +13,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ gimp \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "gimp" ] diff --git a/glxgears/Dockerfile b/glxgears/Dockerfile index 3fe5003..9603615 100644 --- a/glxgears/Dockerfile +++ b/glxgears/Dockerfile @@ -12,7 +12,8 @@ MAINTAINER Jessica Frazelle # Install all the things RUN apt-get update && apt-get install -y \ mesa-utils \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENV LIBGL_DEBUG verbose diff --git a/gparted/Dockerfile b/gparted/Dockerfile index f58f11c..f34ab15 100644 --- a/gparted/Dockerfile +++ b/gparted/Dockerfile @@ -26,7 +26,8 @@ RUN apt-get update && apt-get install -y \ dosfstools \ gparted \ libcanberra-gtk-module \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Autorun gparted CMD ["/usr/sbin/gparted"] diff --git a/icedove/Dockerfile b/icedove/Dockerfile index cf3f568..924568f 100644 --- a/icedove/Dockerfile +++ b/icedove/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ icedove \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "icedove" ] diff --git a/iceweasel/Dockerfile b/iceweasel/Dockerfile index 7b7bfa3..29ac921 100644 --- a/iceweasel/Dockerfile +++ b/iceweasel/Dockerfile @@ -8,7 +8,8 @@ RUN sed -i.bak 's/sid main/sid main contrib/g' /etc/apt/sources.list && \ iceweasel \ libgl1-mesa-dri \ libgl1-mesa-glx \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* COPY local.conf /etc/fonts/local.conf diff --git a/idonethis/Dockerfile b/idonethis/Dockerfile index 09fd9c6..d33720b 100644 --- a/idonethis/Dockerfile +++ b/idonethis/Dockerfile @@ -2,15 +2,15 @@ FROM ruby:latest MAINTAINER Jessica Frazelle # update gems -RUN gem update --system -RUN gem update -RUN gem install syck +RUN gem update --system \ + && gem update \ + && gem install syck # install idonethis from git RUN git clone https://github.com/influitive/idonethis.git /idonethis RUN cd /idonethis; rake build; gem install /idonethis/pkg/idonethis-0.1.0.gem; -COPY .idonethisrc / -COPY main.sh / +COPY .idonethisrc /root/.idonethisrc +COPY main.sh /main.sh -ENTRYPOINT ["/main.sh"] \ No newline at end of file +ENTRYPOINT ["/main.sh"] diff --git a/imagemagick/Dockerfile b/imagemagick/Dockerfile index 8be4dc5..3ec30db 100644 --- a/imagemagick/Dockerfile +++ b/imagemagick/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ imagemagick \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* CMD [ "imagemagick" ] diff --git a/inkscape/Dockerfile b/inkscape/Dockerfile index 529f2fd..8dbb045 100644 --- a/inkscape/Dockerfile +++ b/inkscape/Dockerfile @@ -15,9 +15,10 @@ RUN apt-get update && apt-get install -y \ software-properties-common RUN add-apt-repository ppa:inkscape.dev/stable && \ - apt-get update && \ - apt-get install -y -qq --no-install-recommends inkscape && \ - rm -rf /var/lib/apt/lists/* + apt-get update && apt-get install -y \ + inkscape \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* VOLUME /workspace WORKDIR /workspace diff --git a/ipython-notebook/Dockerfile b/ipython-notebook/Dockerfile index 4dae182..fcc0bb3 100644 --- a/ipython-notebook/Dockerfile +++ b/ipython-notebook/Dockerfile @@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \ libopenblas-dev \ liblapack-dev \ libzmq-dev \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* RUN pip install -U \ numpy \ diff --git a/keepass2/Dockerfile b/keepass2/Dockerfile index ab6db96..c6e3034 100644 --- a/keepass2/Dockerfile +++ b/keepass2/Dockerfile @@ -25,6 +25,8 @@ ENV DEBIAN_FRONTEND noninteractiv RUN apt-get update && apt-get install -y \ keepass2 \ - xdotool + xdotool \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* CMD ["/usr/bin/keepass2"] diff --git a/kernel-builder/Dockerfile b/kernel-builder/Dockerfile index f40f91e..8f05d3c 100644 --- a/kernel-builder/Dockerfile +++ b/kernel-builder/Dockerfile @@ -7,7 +7,8 @@ RUN apt-get update && apt-get install -y \ kernel-package \ make \ libncurses5-dev \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENV HOME /root WORKDIR $HOME diff --git a/libreoffice/Dockerfile b/libreoffice/Dockerfile index aec5ce2..b0786b2 100644 --- a/libreoffice/Dockerfile +++ b/libreoffice/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ libreoffice \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "libreoffice" ] diff --git a/lynx/Dockerfile b/lynx/Dockerfile index de755fd..2672e46 100644 --- a/lynx/Dockerfile +++ b/lynx/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ lynx \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "lynx" ] diff --git a/mailman/Dockerfile b/mailman/Dockerfile index bd9a34a..ad9e533 100644 --- a/mailman/Dockerfile +++ b/mailman/Dockerfile @@ -13,7 +13,8 @@ RUN apt-get update && apt-get install -y \ mailman \ postfix \ supervisor \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Lighttpd configuration ADD lighttpd.conf /etc/lighttpd/lighttpd.conf diff --git a/mdp/Dockerfile b/mdp/Dockerfile index 1fd1b2a..2c2eae4 100644 --- a/mdp/Dockerfile +++ b/mdp/Dockerfile @@ -10,7 +10,8 @@ RUN apt-get update && apt-get install -y \ libncursesw5 \ libncursesw5-dev \ make \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* RUN git clone --recursive https://github.com/visit1985/mdp.git /src diff --git a/mutt/Dockerfile b/mutt/Dockerfile index 1c8597f..d80ed19 100644 --- a/mutt/Dockerfile +++ b/mutt/Dockerfile @@ -1,4 +1,5 @@ FROM debian:stable +MAINTAINER Jessica Frazelle RUN groupadd -g 1000 user \ && useradd --create-home -d /home/user -g user -u 1000 user @@ -6,15 +7,15 @@ RUN groupadd -g 1000 user \ RUN apt-get update && apt-get install -y \ ca-certificates \ git \ - mutt-patched + lynx \ + mutt-patched \ + vim-nox \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # a browser is necessary! -RUN apt-get update && apt-get install -y lynx ENV BROWSER lynx -# my preferred editor :) (see also muttrc) -RUN apt-get update && apt-get install -y vim-nox - USER user ENV HOME /home/user ENV TERM xterm-256color diff --git a/nerdy/Dockerfile b/nerdy/Dockerfile index 71da701..11332f4 100644 --- a/nerdy/Dockerfile +++ b/nerdy/Dockerfile @@ -9,7 +9,8 @@ RUN apt-get update && apt-get install -y \ imagemagick \ jp2a \ python \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENV HOME /root WORKDIR $HOME diff --git a/plex-home-theater/Dockerfile b/plex-home-theater/Dockerfile index d9ba8fb..78dee82 100644 --- a/plex-home-theater/Dockerfile +++ b/plex-home-theater/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \ apt-get update && \ apt-get install -y \ libcec-dev \ - plexhometheater + plexhometheater \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "/usr/bin/plexhometheater.sh" ] diff --git a/rainbowstream/Dockerfile b/rainbowstream/Dockerfile index 45c446c..b2ebf77 100644 --- a/rainbowstream/Dockerfile +++ b/rainbowstream/Dockerfile @@ -6,7 +6,8 @@ RUN apt-get update && apt-get install -y \ libfreetype6 \ libfreetype6-dev \ zlib1g-dev \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* RUN pip install rainbowstream diff --git a/rdesktop/Dockerfile b/rdesktop/Dockerfile index 1270892..b804e3a 100644 --- a/rdesktop/Dockerfile +++ b/rdesktop/Dockerfile @@ -4,6 +4,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ libgssapi-krb5-2 \ rdesktop \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "rdesktop" ] diff --git a/remmina/Dockerfile b/remmina/Dockerfile index 222b22b..9edc516 100644 --- a/remmina/Dockerfile +++ b/remmina/Dockerfile @@ -19,6 +19,7 @@ RUN apt-get update && apt-get install -y \ hicolor-icon-theme \ remmina \ remmina-plugin-rdp \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "remmina" ] diff --git a/sentry/Dockerfile b/sentry/Dockerfile index 2355fed..e61eb91 100644 --- a/sentry/Dockerfile +++ b/sentry/Dockerfile @@ -14,7 +14,8 @@ RUN apt-get update && apt-get install -y \ python \ python-dev \ python-pip \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # locales ENV LANGUAGE en_US.UTF-8 diff --git a/skype/Dockerfile b/skype/Dockerfile index 9eb702b..64c104a 100644 --- a/skype/Dockerfile +++ b/skype/Dockerfile @@ -21,7 +21,8 @@ RUN dpkg --add-architecture i386 && \ # Install Skype RUN curl http://download.skype.com/linux/skype-debian_4.3.0.37-1_i386.deb > /usr/src/skype.deb && \ dpkg -i /usr/src/skype.deb || true && \ - apt-get install -fy + apt-get install -fy \ + && rm -rf /var/lib/apt/lists/* # Start Skype ENTRYPOINT ["skype"] diff --git a/slack/Dockerfile b/slack/Dockerfile index a894e5f..22c0858 100644 --- a/slack/Dockerfile +++ b/slack/Dockerfile @@ -24,6 +24,7 @@ RUN apt-get update && apt-get install -y \ apt-add-repository -y ppa:rael-gc/scudcloud && \ apt-get update && \ apt-get install -y \ - scudcloud + scudcloud \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT ["/usr/bin/scudcloud"] diff --git a/spotify-wine/Dockerfile b/spotify-wine/Dockerfile index f105f43..4fc4195 100644 --- a/spotify-wine/Dockerfile +++ b/spotify-wine/Dockerfile @@ -21,7 +21,9 @@ RUN apt-get update && apt-get install -y \ dpkg --add-architecture i386 && \ apt-get update && \ apt-get install -y \ - wine32 + wine32 \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* COPY ./SpotifySetup.exe /usr/src/SpotifySetup.exe diff --git a/spotify/Dockerfile b/spotify/Dockerfile index 2eb09b8..dddbcbd 100644 --- a/spotify/Dockerfile +++ b/spotify/Dockerfile @@ -22,6 +22,7 @@ RUN apt-get update && apt-get install -y \ echo "deb http://repository.spotify.com stable non-free" >> /etc/apt/sources.list.d/spotify.list && \ apt-get update && \ apt-get install -y \ - spotify-client + spotify-client \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "/usr/bin/spotify" ] diff --git a/ssr/Dockerfile b/ssr/Dockerfile index faee9ef..4dbfb4c 100644 --- a/ssr/Dockerfile +++ b/ssr/Dockerfile @@ -48,7 +48,8 @@ RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y \ libxfixes3:i386 \ libglu1-mesa:i386 \ sudo \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # make adjustments RUN cd /usr/lib/i386-linux-gnu && \ diff --git a/stress/Dockerfile b/stress/Dockerfile index 6b6dded..585a23c 100644 --- a/stress/Dockerfile +++ b/stress/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ stress \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* CMD [ "stress" ] diff --git a/sublime-text-3/Dockerfile b/sublime-text-3/Dockerfile index 5593e31..4edb144 100644 --- a/sublime-text-3/Dockerfile +++ b/sublime-text-3/Dockerfile @@ -32,7 +32,8 @@ RUN apt-get update && apt-get -y install \ libpango-1.0-0 \ libpangocairo-1.0-0 \ libgtk2.0-0 \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* RUN curl -sSL "http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2" -o /tmp/sublime.tar.bz2 \ && mkdir -p /usr/src/sublime_text \ diff --git a/t/Dockerfile b/t/Dockerfile index 88541ef..74d9f40 100644 --- a/t/Dockerfile +++ b/t/Dockerfile @@ -1,5 +1,10 @@ -FROM ruby:latest -MAINTAINER Jessica Frazelle +FROM alpine:latest + +RUN apk update && apk add \ + ca-certificates \ + ruby-dev \ + build-base \ + && rm -rf /var/cache/apk/* RUN gem install t diff --git a/termboy/Dockerfile b/termboy/Dockerfile index dce5d1f..81ad283 100644 --- a/termboy/Dockerfile +++ b/termboy/Dockerfile @@ -27,8 +27,10 @@ COPY termboy-go /usr/bin/termboy-go # Install dependencies RUN apt-get update && apt-get install -y \ - kbd && \ - mkdir -p $HOME/.config/termboy + kbd \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p $HOME/.config/termboy # add games COPY games $HOME/games diff --git a/tetris/Dockerfile b/tetris/Dockerfile index f1981f3..786f4cd 100644 --- a/tetris/Dockerfile +++ b/tetris/Dockerfile @@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle # Install emacs RUN apt-get update && apt-get install -y \ emacs \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Autorun tetris CMD ["/usr/bin/emacs", "-f", "tetris"] diff --git a/tomahawk/Dockerfile b/tomahawk/Dockerfile index 4362eec..765247a 100644 --- a/tomahawk/Dockerfile +++ b/tomahawk/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && apt-get install -y \ add-apt-repository ppa:tomahawk/ppa && \ apt-get update && \ apt-get install -y \ - tomahawk + tomahawk \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "/usr/bin/tomahawk" ] diff --git a/tor-browser/Dockerfile b/tor-browser/Dockerfile index 2337911..a11c743 100644 --- a/tor-browser/Dockerfile +++ b/tor-browser/Dockerfile @@ -17,6 +17,7 @@ RUN apt-get update && apt-get install -y \ libxrender1 \ libxt6 \ xz-utils \ + --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENV HOME /home/user diff --git a/transmission-ui/Dockerfile b/transmission-ui/Dockerfile index 55acaa7..cd0a18d 100644 --- a/transmission-ui/Dockerfile +++ b/transmission-ui/Dockerfile @@ -27,7 +27,8 @@ RUN apt-get update && apt-get install -y \ transmission-common \ transmission-daemon \ transmission-gtk \ - --no-install-recommends + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* # Autorun transmission CMD ["/usr/bin/transmission-gtk"] diff --git a/transmission/Dockerfile b/transmission/Dockerfile index c10574a..41926ab 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -24,10 +24,9 @@ MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ transmission-daemon \ - && mkdir -p /transmission/download \ - && mkdir -p /transmission/watch \ - && mkdir -p /transmission/incomplete \ - && mkdir -p /transmission/config \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* \ + && mkdir -p /transmission/{download,watch,incomplete,config} \ && chmod 1777 /transmission ENV TRANSMISSION_HOME /transmission/config diff --git a/virtualbox/Dockerfile b/virtualbox/Dockerfile index d459324..8c6ace8 100644 --- a/virtualbox/Dockerfile +++ b/virtualbox/Dockerfile @@ -16,6 +16,7 @@ RUN apt-get update && apt-get install -y \ echo "deb http://download.virtualbox.org/virtualbox/debian jessie contrib" >> /etc/apt/sources.list.d/virtualbox.list && \ apt-get update && \ apt-get install -y \ - virtualbox + virtualbox \ + && rm -rf /var/lib/apt/lists/* ENTRYPOINT [ "/usr/bin/virtualbox" ] diff --git a/weechat/Dockerfile b/weechat/Dockerfile index bb0e378..e205cee 100644 --- a/weechat/Dockerfile +++ b/weechat/Dockerfile @@ -3,6 +3,7 @@ MAINTAINER Justin Garrison RUN apt-get update && apt-get install -y \ weechat \ + --no-install-recommends \ && rm -rf /var/lib/apt/lists/* ENV LANG C.UTF-8