From 3301233387ab601cca83a7321d9c5ebb48a49597 Mon Sep 17 00:00:00 2001 From: svenssonaxel Date: Wed, 4 Apr 2018 10:46:22 -0400 Subject: [PATCH] Fix #368 so that chrome remains installed (#369) --- chrome/beta/Dockerfile | 9 ++++----- chrome/stable/Dockerfile | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/chrome/beta/Dockerfile b/chrome/beta/Dockerfile index 599e474..1450b36 100644 --- a/chrome/beta/Dockerfile +++ b/chrome/beta/Dockerfile @@ -48,17 +48,16 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Download the google-talkplugin -RUN buildDeps=' \ +RUN set -x \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ - ' \ - && set -x \ - && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ && curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \ && dpkg -i /tmp/google-talkplugin-amd64.deb \ && rm -rf /tmp/*.deb \ - && apt-get purge -y --auto-remove $buildDeps + && apt-get purge -y --auto-remove curl # Add chrome user RUN groupadd -r chrome && useradd -r -g chrome -G audio,video chrome \ diff --git a/chrome/stable/Dockerfile b/chrome/stable/Dockerfile index 42b8b58..79c5f3b 100644 --- a/chrome/stable/Dockerfile +++ b/chrome/stable/Dockerfile @@ -48,17 +48,16 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* # Download the google-talkplugin -RUN buildDeps=' \ +RUN set -x \ + && apt-get update \ + && apt-get install -y --no-install-recommends \ ca-certificates \ curl \ - ' \ - && set -x \ - && apt-get update && apt-get install -y $buildDeps --no-install-recommends \ && rm -rf /var/lib/apt/lists/* \ && curl -sSL "https://dl.google.com/linux/direct/google-talkplugin_current_amd64.deb" -o /tmp/google-talkplugin-amd64.deb \ && dpkg -i /tmp/google-talkplugin-amd64.deb \ && rm -rf /tmp/*.deb \ - && apt-get purge -y --auto-remove $buildDeps + && apt-get purge -y --auto-remove curl # Add chrome user RUN groupadd -r chrome && useradd -r -g chrome -G audio,video chrome \