diff --git a/chrome/Dockerfile b/chrome/Dockerfile new file mode 100644 index 0000000..131fc91 --- /dev/null +++ b/chrome/Dockerfile @@ -0,0 +1,39 @@ +# Base docker image +FROM debian:jessie +MAINTAINER Jessica Frazelle + +COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb + +ADD https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb /src/google-chrome-stable_current_amd64.deb + +# Install Chromium +RUN sed -i.bak 's/jessie main/jessie main contrib non-free/g' /etc/apt/sources.list && \ + mkdir -p /usr/share/icons/hicolor && \ + apt-get update && apt-get install -y \ + ca-certificates \ + gconf-service \ + libappindicator1 \ + libasound2 \ + libcanberra-gtk-module \ + libcurl3 \ + libexif-dev \ + libgconf-2-4 \ + libnspr4 \ + libnss3 \ + libpango1.0-0 \ + libv4l-0 \ + libxss1 \ + libxtst6 \ + wget \ + xdg-utils \ + --no-install-recommends && \ + dpkg -i '/src/google-chrome-stable_current_amd64.deb' && \ + apt-get install -y \ + pepperflashplugin-nonfree \ + --no-install-recommends && \ + dpkg -i '/src/google-talkplugin_current_amd64.deb' + +COPY local.conf /etc/fonts/local.conf + +# Autorun x11vnc +CMD ["/usr/bin/google-chrome-stable", "--no-sandbox", "--user-data-dir=/data"] diff --git a/chrome/local.conf b/chrome/local.conf new file mode 100644 index 0000000..51dd0d3 --- /dev/null +++ b/chrome/local.conf @@ -0,0 +1,29 @@ + + + + + +rgb + + + + +true + + + + +hintslight + + + + +true + + + + +lcddefault + + + diff --git a/consul-alerts/Dockerfile b/consul-alerts/Dockerfile new file mode 100644 index 0000000..6150d0b --- /dev/null +++ b/consul-alerts/Dockerfile @@ -0,0 +1,17 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +ADD https://jesss.s3.amazonaws.com/binaries/consul-alerts /usr/local/bin/consul-alerts +ADD https://jesss.s3.amazonaws.com/binaries/consul/0.4.1/consul /usr/local/bin/consul +ADD https://jesss.s3.amazonaws.com/binaries/curl-unix-socket /usr/local/bin/curl-unix-socket + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + --no-install-recommends \ + && mkdir -p /etc/consul.d/ \ + && chmod +x /usr/local/bin/consul \ + && chmod +x /usr/local/bin/curl-unix-socket \ + && chmod +x /usr/local/bin/consul-alerts + +ENTRYPOINT [ "/usr/local/bin/consul-alerts", "start" ] diff --git a/iceweasel/Dockerfile b/iceweasel/Dockerfile new file mode 100644 index 0000000..e74b84d --- /dev/null +++ b/iceweasel/Dockerfile @@ -0,0 +1,10 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +RUN sed -i.bak 's/jessie main/jessie main contrib/g' /etc/apt/sources.list && \ + apt-get update && apt-get install -y \ + flashplugin-nonfree \ + iceweasel \ + --no-install-recommends + +ENTRYPOINT [ "iceweasel" ] diff --git a/kernel-builder/Dockerfile b/kernel-builder/Dockerfile index 7d9721d..72070d9 100644 --- a/kernel-builder/Dockerfile +++ b/kernel-builder/Dockerfile @@ -11,4 +11,6 @@ RUN apt-get update && apt-get install -y \ WORKDIR /usr/src -ENTRYPOINT [ "bash" ] +COPY ./download-kernel /usr/local/bin/download-kernel + +CMD [ "bash" ] diff --git a/kernel-builder/download-kernel b/kernel-builder/download-kernel new file mode 100755 index 0000000..623f0f3 --- /dev/null +++ b/kernel-builder/download-kernel @@ -0,0 +1,10 @@ +#!/bin/bash + +VERSION=$1 + +if [[ -z $VERSION ]]; then + echo "Please specify a kernel version." + exit 1 +fi + +curl -sSL https://www.kernel.org/pub/linux/kernel/v3.x/linux-${VERSION}.tar.xz | tar -v -C /usr/src -xJ diff --git a/mailman/Dockerfile b/mailman/Dockerfile new file mode 100644 index 0000000..1a50a2d --- /dev/null +++ b/mailman/Dockerfile @@ -0,0 +1,25 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +# run +# docker run -d -p 1234:80 -p 25:25 jess/mailman +# +# curl http://localhost:1234/cgi-bin/mailman/admin +# for admin screen + +ENV DEBIAN_FRONTEND noninteractive +RUN apt-get update && apt-get install -y \ + lighttpd \ + mailman \ + postfix \ + supervisor \ + --no-install-recommends + +# Lighttpd configuration +ADD lighttpd.conf /etc/lighttpd/lighttpd.conf + +ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf + +EXPOSE 25 80 + +ENTRYPOINT [ "supervisord" ] diff --git a/mailman/lighttpd.conf b/mailman/lighttpd.conf new file mode 100644 index 0000000..fb67a23 --- /dev/null +++ b/mailman/lighttpd.conf @@ -0,0 +1,48 @@ +server.modules = ( + "mod_cgi" +# ,"mod_access" + ,"mod_alias" +# ,"mod_compress" +# ,"mod_redirect" +# ,"mod_rewrite" +) + +server.document-root = "/usr/lib/cgi-bin/mailman/" +server.dir-listing = "disable" +server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) +server.errorlog = "/var/log/lighttpd/error.log" +server.pid-file = "/var/run/lighttpd.pid" +server.username = "www-data" +server.groupname = "www-data" +server.port = 80 + + +#index-file.names = ( "index.php", "index.html", "index.lighttpd.html" ) +#url.access-deny = ( "~", ".inc" ) +#static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) + +#compress.cache-dir = "/var/cache/lighttpd/compress/" +#compress.filetype = ( "application/javascript", "text/css", "text/html", "text/plain" ) + +# default listening port for IPv6 falls back to the IPv4 port +## Use ipv6 if available +#include_shell "/usr/share/lighttpd/use-ipv6.pl " + server.port +include_shell "/usr/share/lighttpd/create-mime.assign.pl" +#include_shell "/usr/share/lighttpd/include-conf-enabled.pl" + +alias.url = ( "/images/mailman/" => "/usr/share/images/mailman/", + "/pipermail/" => "/var/lib/mailman/archives/public/", + "/cgi-bin/mailman/" => "/usr/lib/cgi-bin/mailman/" ) + +cgi.assign = ( "/admin" => "", + "/admindb" => "", + "/confirm" => "", + "/create" => "", + "/edithtml" => "", + "/listinfo" => "", + "/options" => "", + "/private" => "", + "/rmlist" => "", + "/roster" => "", + "/subscribe" => "") + diff --git a/mailman/supervisord.conf b/mailman/supervisord.conf new file mode 100644 index 0000000..9429796 --- /dev/null +++ b/mailman/supervisord.conf @@ -0,0 +1,11 @@ +[supervisord] +nodaemon=true + +[program:postfix] +command=/etc/init.d/postfix start + +[program:lighttpd] +command=/usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf + +[program:mailman] +command=/etc/init.d/mailman start diff --git a/mpsyt/Dockerfile b/mpsyt/Dockerfile new file mode 100644 index 0000000..08b2f4b --- /dev/null +++ b/mpsyt/Dockerfile @@ -0,0 +1,11 @@ +FROM python:latest +MAINTAINER Justin Garrison + +RUN apt-get update && apt-get install -y \ + mplayer \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +RUN pip install mps-youtube + +ENTRYPOINT ["mpsyt"] diff --git a/mpsyt/README b/mpsyt/README new file mode 100644 index 0000000..92886f2 --- /dev/null +++ b/mpsyt/README @@ -0,0 +1,11 @@ +mps-youtube +-------- + +Docker container for running [mpsyt](https://github.com/np1/mps-youtube) inside +a docker container. + +Run with + +``` +docker run -v /dev/snd:/dev/snd -it --rm --privileged rothgar/mpsyt +``` diff --git a/rdesktop/Dockerfile b/rdesktop/Dockerfile index bf67e78..961bd8c 100644 --- a/rdesktop/Dockerfile +++ b/rdesktop/Dockerfile @@ -2,6 +2,7 @@ FROM debian:jessie MAINTAINER Jessica Frazelle RUN apt-get update && apt-get install -y \ + libgssapi-krb5-2 \ rdesktop \ --no-install-recommends diff --git a/remmina/Dockerfile b/remmina/Dockerfile new file mode 100644 index 0000000..eb34c90 --- /dev/null +++ b/remmina/Dockerfile @@ -0,0 +1,13 @@ +FROM ubuntu:14.10 +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + software-properties-common \ + --no-install-recommends && \ + apt-add-repository ppa:remmina-ppa-team/remmina-next && \ + apt-get update && apt-get install -y \ + remmina \ + remmina-plugin-rdp \ + --no-install-recommends + +ENTRYPOINT [ "remmina" ] diff --git a/rust/Dockerfile b/rust/Dockerfile new file mode 100644 index 0000000..bdedfdb --- /dev/null +++ b/rust/Dockerfile @@ -0,0 +1,15 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + --no-install-recommends \ + && rm -rf /var/lib/apt/lists/* + +ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/rust/rustc/bin + +RUN mkdir -p /usr/local/rust \ + && curl -sSL https://static.rust-lang.org/dist/rust-nightly-x86_64-unknown-linux-gnu.tar.gz | tar -v -C /usr/local/rust -xz --strip-components 1 \ + && cd /usr/local/rust \ + && ./install.sh diff --git a/spotify-wine/Dockerfile b/spotify-wine/Dockerfile new file mode 100644 index 0000000..ee75693 --- /dev/null +++ b/spotify-wine/Dockerfile @@ -0,0 +1,17 @@ +FROM debian:jessie +MAINTAINER Jessie Frazelle + +# install wine +# and iceweasel since we have to sign in w facebook +# GROSS +RUN apt-get update && apt-get install -y \ + wine \ + --no-install-recommends && \ + dpkg --add-architecture i386 && \ + apt-get update && \ + apt-get install -y \ + wine32 + +COPY ./SpotifySetup.exe /usr/src/SpotifySetup.exe + +CMD [ "wine", "/usr/src/SpotifySetup.exe" ] diff --git a/spotify/Dockerfile b/spotify/Dockerfile new file mode 100644 index 0000000..813f90a --- /dev/null +++ b/spotify/Dockerfile @@ -0,0 +1,15 @@ +FROM ubuntu:14.04 +MAINTAINER Jessie Frazelle + +RUN apt-get update && apt-get install -y \ + libpangoxft-1.0-0 \ + alsa-utils \ + software-properties-common \ + --no-install-recommends && \ + apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 94558F59 && \ + 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 + +ENTRYPOINT [ "/usr/bin/spotify" ] diff --git a/tomahawk/Dockerfile b/tomahawk/Dockerfile index f535754..e539f8c 100644 --- a/tomahawk/Dockerfile +++ b/tomahawk/Dockerfile @@ -1,48 +1,12 @@ -FROM debian:wheezy +FROM ubuntu:14.04 +MAINTAINER Jessie Frazelle RUN apt-get update && apt-get install -y \ - build-essential \ - ca-certificates \ - cmake \ - curl \ - libtag1c2a \ - libtag1-dev \ - libqt4-dev \ - libqt4-sql-sqlite \ - libphonon-dev \ - phonon-dbg \ - libphononexperimental4 \ - libboost-dev \ - libboost-thread-dev \ - zlib1g-dev \ - libgnutls-dev \ - libz-dev \ - libqjson-dev \ - libqca2-dev \ - libx11-dev \ - pkg-config \ - libqca2-plugin-ossl \ - libidn2-0-dev \ - speex \ - libsamplerate0-dev \ - libfftw3-dev \ - libgsasl7-dev \ - automoc \ - pulseaudio \ - alsa-utils \ - --no-install-recommends - -RUN curl -sSL http://download.kde.org/stable/attica/attica-0.4.1.tar.bz2 | tar -v -C /root -xj && \ - mv /root/attica-0.4.1 /root/attica && \ - mkdir -p /root/attica/build && cd /root/attica/build && \ - cmake .. && \ - make && make install - -RUN curl -sSL https://github.com/tomahawk-player/tomahawk/archive/0.8.2.tar.gz | tar -v -C /root -xz && \ - mv /root/tomahawk-0.8.2 /root/tomahawk/ && \ - mkdir -p /root/tomahawk/build && cd /root/tomahawk/build && \ - cmake .. && \ - make && \ - mv /root/tomahawk/tomahawk /usr/bin/ + software-properties-common \ + --no-install-recommends && \ + add-apt-repository ppa:tomahawk/ppa && \ + apt-get update && \ + apt-get install -y \ + tomahawk ENTRYPOINT [ "/usr/bin/tomahawk" ] diff --git a/tor-browser/Dockerfile b/tor-browser/Dockerfile new file mode 100644 index 0000000..ca1b434 --- /dev/null +++ b/tor-browser/Dockerfile @@ -0,0 +1,29 @@ +FROM debian:jessie +MAINTAINER Jessica Frazelle + +RUN apt-get update && apt-get install -y \ + ca-certificates \ + curl \ + libasound2 \ + libdbus-glib-1-2 \ + libgtk2.0-0 \ + libxrender1 \ + libxt6 \ + xz-utils \ + && rm -rf /var/lib/apt/lists/* + +ENV HOME /home/user +RUN useradd --create-home --home-dir $HOME user \ + && chown -R user:user $HOME + +ENV LANG C.UTF-8 + +ENV TOR_VERSION 4.0.3 + +RUN curl -sSL "https://www.torproject.org/dist/torbrowser/${TOR_VERSION}/tor-browser-linux64-${TOR_VERSION}_en-US.tar.xz" | tar -v -C /usr/local/bin -xJ --strip-components 1 + +WORKDIR $HOME +USER user + +ENTRYPOINT ["/bin/bash"] +CMD [ "/usr/local/bin/start-tor-browser" ] diff --git a/znc/Dockerfile b/znc/Dockerfile index 10dd352..5707ebc 100644 --- a/znc/Dockerfile +++ b/znc/Dockerfile @@ -12,7 +12,6 @@ RUN apt-get update && apt-get install -y \ ENV HOME /home/user RUN useradd --create-home --home-dir $HOME user \ - && mkdir -p $HOME/.irssi \ && chown -R user:user $HOME ENV LANG C.UTF-8