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 \