diff --git a/atom/Dockerfile b/atom/Dockerfile new file mode 100644 index 0000000..cdad6c3 --- /dev/null +++ b/atom/Dockerfile @@ -0,0 +1,53 @@ +# VERSION: 0.1 +# DESCRIPTION: Create the atom editor in a container +# AUTHOR: Jessica Frazelle +# COMMENTS: +# This file describes how to build the atom editor +# in a container with all dependencies installed. +# Note: atom is not a node-webkit app, +# found this out a little too late into this example +# it uses atom-shell(https://github.com/atom/atom-shell) +# Tested on Debian Jessie. +# USAGE: +# # Download atom Dockerfile +# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/atom/Dockerfile +# +# # Build atom image +# docker build -t atom . +# +# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=unix$DISPLAY atom +# + +DOCKER-VERSION 1.3 + +# Base docker image +FROM debian:jessie +MAINTAINER Jessica Frazelle + +# Install dependencies +RUN apt-get update && apt-get install -y \ + build-essential \ + ca-certificates \ + curl \ + git \ + libasound2 \ + libgconf-2-4 \ + libgnome-keyring-dev \ + libgtk2.0-0 \ + libnss3 \ + libxtst6 \ + --no-install-recommends + +# install node +RUN curl -sL https://deb.nodesource.com/setup | bash - +RUN apt-get install -y nodejs + +# clone atom +RUN git clone https://github.com/atom/atom /src +WORKDIR /src +RUN git fetch && git checkout $(git describe --tags `git rev-list --tags --max-count=1`) +RUN script/build && script/grunt install + +# Autorun atom +CMD /usr/local/bin/atom --foreground --log-file /var/log/atom.log && tail -f /var/log/atom.log diff --git a/chromium/Dockerfile b/chromium/Dockerfile new file mode 100644 index 0000000..53e4019 --- /dev/null +++ b/chromium/Dockerfile @@ -0,0 +1,38 @@ +# VERSION: 0.1 +# DESCRIPTION: Create chromium container with its dependencies +# AUTHOR: Jessica Frazelle +# COMMENTS: +# This file describes how to build a Chromium container with all +# dependencies installed. It uses native X11 unix socket. +# Tested on Debian Jessie +# USAGE: +# # Download Chromium Dockerfile +# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/chromium/Dockerfile +# +# # Build chromium image +# docker build -t chromium . +# +# # 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 + +# # To run stateful dockerized data containers +# docker run --volumes-from chromium-data -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -e DISPLAY=unix$DISPLAY chromium + +DOCKER_VERSION 1.3 + +# Base docker image +FROM debian:jessie +MAINTAINER Jessica Frazelle + +# Install Chromium +RUN apt-get update && apt-get install -y \ + chromium \ + chromium-l10n \ + libcanberra-gtk-module \ + libexif-dev \ + --no-install-recommends + +# Autorun chromium +CMD ["/usr/bin/chromium", "--no-sandbox", "--user-data-dir=/data"] diff --git a/gparted/Dockerfile b/gparted/Dockerfile new file mode 100644 index 0000000..13ebea5 --- /dev/null +++ b/gparted/Dockerfile @@ -0,0 +1,33 @@ +# VERSION: 0.1 +# DESCRIPTION: Create gparted container with its dependencies +# AUTHOR: Jessica Frazelle +# COMMENTS: +# This file describes how to build a gparted container with all +# dependencies installed. It uses native X11 unix socket. +# Tested on Debian Jessie +# USAGE: +# # Download gparted Dockerfile +# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/gparted/Dockerfile +# +# # Build gparted image +# docker build -t gparted . +# +# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ +# --device=/dev/sda:/dev/sda \ +# -e DISPLAY=unix$DISPLAY gparted +# + +DOCKER-VERSION 1.3 + +# Base docker image +FROM debian:jessie +MAINTAINER Jessica Frazelle + +# Install Gparted and its dependencies +RUN apt-get update && apt-get install -y \ + gparted \ + libcanberra-gtk-module \ + --no-install-recommends + +# Autorun gparted +CMD ["/usr/sbin/gparted"] diff --git a/transmission/Dockerfile b/transmission/Dockerfile new file mode 100644 index 0000000..8218dc4 --- /dev/null +++ b/transmission/Dockerfile @@ -0,0 +1,35 @@ +# VERSION: 0.1 +# DESCRIPTION: Create transmission container with its dependencies +# AUTHOR: Jessica Frazelle +# COMMENTS: +# This file describes how to build a transmission container with all +# dependencies installed. It uses native X11 unix socket. +# Tested on Debian Jessie +# USAGE: +# # Download transmission Dockerfile +# wget http://raw.githubusercontent.com/jfrazelle/dockerfiles/master/transmission/Dockerfile +# +# # Build transmission image +# docker build -t transmission . +# +# docker run -v /tmp/.X11-unix:/tmp/.X11-unix \ +# -v /home/jessie/Torrents:/Torrents \ +# -e DISPLAY=unix$DISPLAY transmission +# + +DOCKER-VERSION 1.3 + +# Base docker image +FROM debian:jessie +MAINTAINER Jessica Frazelle + +# Install transmission and its dependencies +RUN apt-get update && apt-get install -y \ + transmission-cli \ + transmission-common \ + transmission-daemon \ + transmission-gtk \ + --no-install-recommends + +# Autorun transmission +CMD ["/usr/bin/transmission-gtk"]