diff --git a/atom/Dockerfile b/atom/Dockerfile index 1d48b9c..014ed06 100644 --- a/atom/Dockerfile +++ b/atom/Dockerfile @@ -16,7 +16,7 @@ # docker build -t atom . # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY atom +# -e DISPLAY=unix$DISPLAY atom # # Base docker image diff --git a/chromium/Dockerfile b/chromium/Dockerfile index 65e3f9f..43a8270 100644 --- a/chromium/Dockerfile +++ b/chromium/Dockerfile @@ -14,11 +14,11 @@ # # # Run stateful data-on-host chromium. For ephemeral, remove -v /data/chromium:/data # docker run -v /data/chromium:/data -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY chromium +# -e DISPLAY=unix$DISPLAY chromium # # To run stateful dockerized data containers # docker run --volumes-from chromium-data -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY chromium +# -e DISPLAY=unix$DISPLAY chromium # Base docker image FROM debian:jessie diff --git a/consul-alerts/Dockerfile b/consul-alerts/Dockerfile index 3bfac5e..9629481 100644 --- a/consul-alerts/Dockerfile +++ b/consul-alerts/Dockerfile @@ -1,7 +1,7 @@ FROM debian:jessie MAINTAINER Jessica Frazelle -ENV CONSUL_VERSION 0.5.0 +ENV CONSUL_VERSION 0.5.2 ADD https://jesss.s3.amazonaws.com/binaries/consul-alerts /usr/local/bin/consul-alerts ADD https://jesss.s3.amazonaws.com/binaries/consul/${CONSUL_VERSION}/consul /usr/local/bin/consul diff --git a/evince/Dockerfile b/evince/Dockerfile index 71b0381..b924714 100644 --- a/evince/Dockerfile +++ b/evince/Dockerfile @@ -1,16 +1,16 @@ -# VERSION: 0.1 -# DESCRIPTION: Create evince container with its dependencies (https://wiki.gnome.org/Apps/Evince) -# AUTHOR: Christian Koep +# VERSION: 0.1 +# DESCRIPTION: Create evince container with its dependencies (https://wiki.gnome.org/Apps/Evince) +# AUTHOR: Christian Koep # USAGE: # # Build evince image # docker build -t evince . # # # Run the container and mount your documents # docker run -it \ -# -v $HOME/documents/:/root/documents/ \ -# -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=$DISPLAY \ -# evince +# -v $HOME/documents/:/root/documents/ \ +# -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=$DISPLAY \ +# evince # FROM debian:jessie diff --git a/glxgears/Dockerfile b/glxgears/Dockerfile index d822daf..3fe5003 100644 --- a/glxgears/Dockerfile +++ b/glxgears/Dockerfile @@ -1,5 +1,10 @@ # To use: -# docker run -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=unix$DISPLAY --device /dev/dri jess/glxgears +# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=unix$DISPLAY \ +# --device /dev/dri \ +# jess/glxgears +# + # Base docker image FROM debian:jessie MAINTAINER Jessica Frazelle diff --git a/gparted/Dockerfile b/gparted/Dockerfile index f0b58ea..f58f11c 100644 --- a/gparted/Dockerfile +++ b/gparted/Dockerfile @@ -13,8 +13,8 @@ # docker build -t gparted . # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# --device=/dev/sda:/dev/sda \ -# -e DISPLAY=unix$DISPLAY gparted +# --device=/dev/sda:/dev/sda \ +# -e DISPLAY=unix$DISPLAY gparted # # Base docker image diff --git a/inkscape/Dockerfile b/inkscape/Dockerfile index 5208ae8..529f2fd 100644 --- a/inkscape/Dockerfile +++ b/inkscape/Dockerfile @@ -1,9 +1,9 @@ # Run inkscape in a container # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -v /inkscape/:/workspace \ -# -e DISPLAY=unix$DISPLAY \ -# infoslack/inkscape +# -v /inkscape/:/workspace \ +# -e DISPLAY=unix$DISPLAY \ +# infoslack/inkscape # FROM ubuntu:14.04 MAINTAINER Daniel Romero diff --git a/ipython-notebook/Dockerfile b/ipython-notebook/Dockerfile index ff55f3b..4dae182 100644 --- a/ipython-notebook/Dockerfile +++ b/ipython-notebook/Dockerfile @@ -1,8 +1,6 @@ FROM python:2.7.8 MAINTAINER Jessica Frazelle -RUN pip install -U numpy - # install linear algebra dependencies RUN apt-get update && apt-get install -y \ gfortran \ @@ -10,23 +8,26 @@ RUN apt-get update && apt-get install -y \ liblapack-dev \ libzmq-dev \ --no-install-recommends -RUN pip install -U scipy -RUN pip install -U matplotlib -RUN pip install -U pandas -RUN pip install -U patsy -RUN pip install -U statsmodels -RUN pip install -U scikit-learn -RUN pip install -U ggplot -RUN pip install -U pyzmq -RUN pip install -U jinja2 -RUN pip install -U tornado -RUN pip install -U ipython +RUN pip install -U \ + numpy \ + scipy \ + matplotlib \ + pandas \ + patsy \ + statsmodels \ + scikit-learn \ + ggplot \ + pyzmq \ + jinja2 \ + tornado \ + ipython EXPOSE 8888 ADD notebook.sh / -RUN chmod u+x /notebook.sh && mkdir -p /root/notebooks +RUN chmod u+x /notebook.sh \ + && mkdir -p /root/notebooks WORKDIR /root/notebooks diff --git a/keepass2/Dockerfile b/keepass2/Dockerfile index 8c84d9d..ab6db96 100644 --- a/keepass2/Dockerfile +++ b/keepass2/Dockerfile @@ -1,12 +1,16 @@ -# VERSION: 0.1 -# DESCRIPTION: Create keepass2 container with its dependencies -# AUTHOR: Christian Koep +# VERSION: 0.1 +# DESCRIPTION: Create keepass2 container with its dependencies +# AUTHOR: Christian Koep # USAGE: # # Build keepass2 image # docker build -t keepass2 . # # # Run the container and mount your keepass2 database file -# docker run -it -v /home/$USER/DB.kdbx:/root/DB.kdbx -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY keepass2 +# docker run -it \ +# -v /home/$USER/DB.kdbx:/root/DB.kdbx \ +# -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=$DISPLAY \ +# keepass2 # # ISSUES: # # 'Gtk: cannot open display: :0' @@ -16,8 +20,11 @@ FROM debian:jessie MAINTAINER Christian Koep + ENV DEBIAN_FRONTEND noninteractiv + RUN apt-get update && apt-get install -y \ keepass2 \ xdotool + CMD ["/usr/bin/keepass2"] diff --git a/kernel-builder/Dockerfile b/kernel-builder/Dockerfile index 2a15540..b6a06a2 100644 --- a/kernel-builder/Dockerfile +++ b/kernel-builder/Dockerfile @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \ ENV HOME /root WORKDIR $HOME -ENV JOBS 2 +ENV JOBS 4 # add install_kernel helper func RUN { \ diff --git a/skype/Dockerfile b/skype/Dockerfile index b677c7f..9eb702b 100644 --- a/skype/Dockerfile +++ b/skype/Dockerfile @@ -1,9 +1,9 @@ # Run skype in a container # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -v /dev/snd:/dev/snd \ -# -e DISPLAY=unix$DISPLAY \ -# jess/skype +# -v /dev/snd:/dev/snd \ +# -e DISPLAY=unix$DISPLAY \ +# jess/skype # FROM debian:jessie diff --git a/slack/Dockerfile b/slack/Dockerfile index 1cc4abc..a894e5f 100644 --- a/slack/Dockerfile +++ b/slack/Dockerfile @@ -1,14 +1,15 @@ # To use: # Needs X11 socket and dbus mounted -# docker run --rm -it \ -# -v /etc/machine-id:/etc/machine-id:ro \ -# -v /etc/localtime:/etc/localtime:ro \ -# -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY \ -# --device /dev/snd:/dev/snd \ -# -v /var/run/dbus:/var/run/dbus \ -# --name slack \ -# jess/slack +# +# docker run --rm -it \ +# -v /etc/machine-id:/etc/machine-id:ro \ +# -v /etc/localtime:/etc/localtime:ro \ +# -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=unix$DISPLAY \ +# --device /dev/snd:/dev/snd \ +# -v /var/run/dbus:/var/run/dbus \ +# --name slack \ +# jess/slack FROM ubuntu:14.04 MAINTAINER Jessie Frazelle diff --git a/ssr/Dockerfile b/ssr/Dockerfile index bc738b3..faee9ef 100644 --- a/ssr/Dockerfile +++ b/ssr/Dockerfile @@ -13,7 +13,7 @@ # docker build -t ssr . # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY ssr +# -e DISPLAY=unix$DISPLAY ssr # # Base docker image diff --git a/sublime-text-3/Dockerfile b/sublime-text-3/Dockerfile index aa96be6..939196d 100644 --- a/sublime-text-3/Dockerfile +++ b/sublime-text-3/Dockerfile @@ -1,16 +1,16 @@ -# VERSION: 0.1 -# DESCRIPTION: Create sublime-text 3 container with its dependencies (https://www.sublimetext.com/3) -# AUTHOR: Christian Koep +# VERSION: 0.1 +# DESCRIPTION: Create sublime-text 3 container with its dependencies (https://www.sublimetext.com/3) +# AUTHOR: Christian Koep # USAGE: # # Build sublime-text 3 image # docker build -t sublime-text:3 . # # # Run the container and mount the local settings and your code # docker run -it \ -# -v $HOME/.config/sublime-text-3/:/root/.config/sublime-text-3 \ -# -v $HOME/development:/root/development \ -# -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=$DISPLAY sublime-text:3 +# -v $HOME/.config/sublime-text-3/:/root/.config/sublime-text-3 \ +# -v $HOME/development:/root/development \ +# -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=$DISPLAY sublime-text:3 # # POSSIBLE ISSUES: # # 'Gtk: cannot open display: :0' @@ -20,6 +20,7 @@ FROM debian:jessie MAINTAINER Christian Koep + RUN apt-get update && apt-get -y install \ wget \ tar \ @@ -30,8 +31,10 @@ RUN apt-get update && apt-get -y install \ libpango-1.0-0 \ libpangocairo-1.0-0 \ libgtk2.0-0 + RUN wget -q http://c758482.r82.cf2.rackcdn.com/sublime_text_3_build_3083_x64.tar.bz2 -O /usr/src/sublime.tar.bz2 && \ cd /usr/src && \ tar -xjf /usr/src/sublime.tar.bz2 && \ rm -f /usr/src/sublime.tar.bz2 + CMD ["/usr/src/sublime_text_3/sublime_text", "-w"] diff --git a/tor-browser/Dockerfile b/tor-browser/Dockerfile index 2161844..2337911 100644 --- a/tor-browser/Dockerfile +++ b/tor-browser/Dockerfile @@ -1,9 +1,9 @@ # Run tor browser in a container # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -v /dev/snd:/dev/snd \ -# -e DISPLAY=unix$DISPLAY \ -# jess/tor-browser +# -v /dev/snd:/dev/snd \ +# -e DISPLAY=unix$DISPLAY \ +# jess/tor-browser # FROM debian:jessie MAINTAINER Jessica Frazelle diff --git a/transmission-ui/Dockerfile b/transmission-ui/Dockerfile index e27b8ad..55acaa7 100644 --- a/transmission-ui/Dockerfile +++ b/transmission-ui/Dockerfile @@ -13,8 +13,8 @@ # docker build -t jess/transmission-ui . # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -v /home/jessie/Torrents:/Torrents \ -# -e DISPLAY=unix$DISPLAY jess/transmission-ui +# -v /home/jessie/Torrents:/Torrents \ +# -e DISPLAY=unix$DISPLAY jess/transmission-ui # # Base docker image diff --git a/transmission/Dockerfile b/transmission/Dockerfile index 9d10403..c10574a 100644 --- a/transmission/Dockerfile +++ b/transmission/Dockerfile @@ -13,9 +13,9 @@ # docker build -t jess/transmission . # # docker run -d --name transmission \ -# -v /home/jessie/Torrents:/transmission/download \ -# -p 9091:9091 -p 51413:51413 -p 51413:51413/udp \ -# jess/transmission +# -v /home/jessie/Torrents:/transmission/download \ +# -p 9091:9091 -p 51413:51413 -p 51413:51413/udp \ +# jess/transmission # # Base docker image diff --git a/virtualbox/Dockerfile b/virtualbox/Dockerfile index 100d2aa..d459324 100644 --- a/virtualbox/Dockerfile +++ b/virtualbox/Dockerfile @@ -1,8 +1,8 @@ # Run virtualbox in a container # # docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ -# -e DISPLAY=unix$DISPLAY \ -# jess/virtualbox +# -e DISPLAY=unix$DISPLAY \ +# jess/virtualbox # FROM debian:jessie MAINTAINER Jessie Frazelle diff --git a/weechat/Dockerfile b/weechat/Dockerfile index 67ba922..bb0e378 100644 --- a/weechat/Dockerfile +++ b/weechat/Dockerfile @@ -2,14 +2,15 @@ FROM ubuntu:14.10 MAINTAINER Justin Garrison RUN apt-get update && apt-get install -y \ - weechat \ - && rm -rf /var/lib/apt/lists/* + weechat \ + && rm -rf /var/lib/apt/lists/* ENV LANG C.UTF-8 ENV HOME /home/user + RUN useradd --create-home --home-dir $HOME user \ - && mkdir -p $HOME/.weechat \ - && chown -R user:user $HOME + && mkdir -p $HOME/.weechat \ + && chown -R user:user $HOME WORKDIR $HOME VOLUME ["$HOME/.weechat"]