cleanup files

Signed-off-by: Jessica Frazelle <princess@docker.com>
This commit is contained in:
Jessica Frazelle 2015-06-06 17:48:44 -07:00
parent 66c9c3ac44
commit 1acfaf03c4
52 changed files with 122 additions and 97 deletions

View File

@ -1,9 +0,0 @@
FROM alpine:latest
MAINTAINER Daniel Romero <infoslack@gmail.com>
RUN apk update
RUN apk add ca-certificates ruby-dev build-base && rm -rf /var/cache/apk/*
RUN gem install t
ENTRYPOINT [ "t" ]

View File

@ -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
```

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
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" ]

View File

@ -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

View File

@ -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" ]

View File

@ -3,7 +3,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
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

View File

@ -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 \

View File

@ -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

View File

@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
# 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"]

View File

@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
# 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"]

View File

@ -16,7 +16,9 @@
FROM debian:jessie
MAINTAINER Christian Koep <christian.koep@fom-net.de>
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"]

View File

@ -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

View File

@ -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" ]

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
geary \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "geary" ]

View File

@ -13,6 +13,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
gimp \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "gimp" ]

View File

@ -12,7 +12,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
# 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

View File

@ -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"]

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
icedove \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "icedove" ]

View File

@ -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

View File

@ -2,15 +2,15 @@ FROM ruby:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
# 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"]
ENTRYPOINT ["/main.sh"]

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
imagemagick \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
CMD [ "imagemagick" ]

View File

@ -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

View File

@ -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 \

View File

@ -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"]

View File

@ -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

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
libreoffice \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "libreoffice" ]

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
lynx \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENTRYPOINT [ "lynx" ]

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,5 @@
FROM debian:stable
MAINTAINER Jessica Frazelle <jess@docker.com>
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

View File

@ -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

View File

@ -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" ]

View File

@ -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

View File

@ -4,6 +4,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
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" ]

View File

@ -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" ]

View File

@ -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

View File

@ -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"]

View File

@ -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"]

View File

@ -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

View File

@ -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" ]

View File

@ -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 && \

View File

@ -3,6 +3,7 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
RUN apt-get update && apt-get install -y \
stress \
--no-install-recommends
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
CMD [ "stress" ]

View File

@ -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 \

View File

@ -1,5 +1,10 @@
FROM ruby:latest
MAINTAINER Jessica Frazelle <jess@docker.com>
FROM alpine:latest
RUN apk update && apk add \
ca-certificates \
ruby-dev \
build-base \
&& rm -rf /var/cache/apk/*
RUN gem install t

View File

@ -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

View File

@ -22,7 +22,8 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
# 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"]

View File

@ -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" ]

View File

@ -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

View File

@ -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"]

View File

@ -24,10 +24,9 @@ MAINTAINER Jessica Frazelle <jess@docker.com>
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

View File

@ -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" ]

View File

@ -3,6 +3,7 @@ MAINTAINER Justin Garrison <justinleegarrison@gmail.com>
RUN apt-get update && apt-get install -y \
weechat \
--no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
ENV LANG C.UTF-8