Skip to content

Commit

Permalink
Remove unnecessary installation of Chrome.
Browse files Browse the repository at this point in the history
The chrome install will be done in frontend-reqs.sh.
It is only necessary that the wget command be available.
  • Loading branch information
franrou committed Dec 5, 2019
1 parent f7ee486 commit dd4b3c0
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
##<autogenerated>##
CMD ["bash"]

0 comments on commit dd4b3c0

Please sign in to comment.