From dd4b3c0adb7dc9a461d1ded853d0ce445b546ad0 Mon Sep 17 00:00:00 2001 From: Fran Rouco Date: Thu, 5 Dec 2019 19:44:52 +0100 Subject: [PATCH] Remove unnecessary installation of Chrome. The chrome install will be done in frontend-reqs.sh. It is only necessary that the wget command be available. --- Dockerfile | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index dee4bc5..46ce13d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,15 +25,6 @@ RUN apt-get install -y apt-utils \ && apt-get install -y nodejs=8.16.2-1nodesource1 \ && apt-get install wget -# Install latest chrome dev package and fonts to support major charsets. -# Note: this installs the necessary libs to make the bundled version of Chromium that Puppeteer installs, work. Necessary to generate the critical css. -RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \ - && sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \ - && apt-get update \ - && apt-get install -y google-chrome-unstable fonts-ipafont-gothic fonts-wqy-zenhei fonts-thai-tlwg fonts-kacst fonts-freefont-ttf \ - --no-install-recommends \ - && rm -rf /var/lib/apt/lists/* - ENTRYPOINT ["docker-php-entrypoint"] #### CMD ["bash"]