diff --git a/chrome/beta/Dockerfile b/chrome/beta/Dockerfile index 27e22cd..208d63b 100644 --- a/chrome/beta/Dockerfile +++ b/chrome/beta/Dockerfile @@ -2,7 +2,7 @@ FROM debian:sid MAINTAINER Jessica Frazelle -COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb +ADD https://jesss.s3.amazonaws.com/debs/google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb ADD https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb /src/google-chrome-beta_current_amd64.deb diff --git a/chrome/old/Dockerfile b/chrome/old/Dockerfile new file mode 100644 index 0000000..c814885 --- /dev/null +++ b/chrome/old/Dockerfile @@ -0,0 +1,55 @@ +# Run Chrome in a container +# +# docker run -it \ +# --net host \ # may as well YOLO +# --cpuset-cpus 0 \ # control the cpu +# --memory 512mb \ # max memory it can use +# -v /tmp/.X11-unix:/tmp/.X11-unix \ # mount the X11 socket +# -e DISPLAY=unix$DISPLAY \ +# -v $HOME/Downloads:/root/Downloads \ +# -v $HOME/.config/google-chrome/:/data \ # if you want to save state +# --device /dev/snd \ # so we have sound +# --name chrome \ +# jess/chrome +# + +# Base docker image +FROM debian:sid +MAINTAINER Jessica Frazelle + +ADD https://jesss.s3.amazonaws.com/debs/google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb + +ADD https://jesss.s3.amazonaws.com/debs/google-chrome-stable_42.0.2311.152-1_amd64.deb /src/google-chrome-stable_current_amd64.deb + +# Install Chromium +RUN mkdir -p /usr/share/icons/hicolor && \ + apt-get update && apt-get install -y \ + ca-certificates \ + gconf-service \ + hicolor-icon-theme \ + libappindicator1 \ + libasound2 \ + libcanberra-gtk-module \ + libcurl3 \ + libexif-dev \ + libgconf-2-4 \ + libgl1-mesa-dri \ + libgl1-mesa-glx \ + libnspr4 \ + libnss3 \ + libpango1.0-0 \ + libv4l-0 \ + libxss1 \ + libxtst6 \ + wget \ + xdg-utils \ + --no-install-recommends && \ + dpkg -i '/src/google-chrome-stable_current_amd64.deb' && \ + dpkg -i '/src/google-talkplugin_current_amd64.deb' \ + && rm -rf /var/lib/apt/lists/* + +COPY local.conf /etc/fonts/local.conf + +# Autorun chrome +ENTRYPOINT [ "/usr/bin/google-chrome" ] +CMD [ "--user-data-dir=/data", "--no-sandbox" ] diff --git a/chrome/old/local.conf b/chrome/old/local.conf new file mode 100644 index 0000000..51dd0d3 --- /dev/null +++ b/chrome/old/local.conf @@ -0,0 +1,29 @@ + + + + + +rgb + + + + +true + + + + +hintslight + + + + +true + + + + +lcddefault + + + diff --git a/chrome/stable/Dockerfile b/chrome/stable/Dockerfile index d90eeb1..4d23f23 100644 --- a/chrome/stable/Dockerfile +++ b/chrome/stable/Dockerfile @@ -17,7 +17,7 @@ FROM debian:sid MAINTAINER Jessica Frazelle -COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb +ADD https://jesss.s3.amazonaws.com/debs/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 diff --git a/chromium/Dockerfile b/chromium/Dockerfile index cda41b5..c10ac97 100644 --- a/chromium/Dockerfile +++ b/chromium/Dockerfile @@ -24,7 +24,8 @@ FROM debian:sid MAINTAINER Jessica Frazelle -COPY google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb +ADD https://jesss.s3.amazonaws.com/debs/google-talkplugin_current_amd64.deb /src/google-talkplugin_current_amd64.deb + # Install Chromium RUN sed -i.bak 's/sid main/sid main contrib non-free/g' /etc/apt/sources.list && \ apt-get update && apt-get install -y \