-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(lh): move to buster-slim, resolve odd remote build errors
- Loading branch information
1 parent
e0a6686
commit 8e60d23
Showing
1 changed file
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,10 @@ | |
# docker run -it ~/your-local-dir:/opt/reports --security-opt seccomp=$HOME/chrome.json --net host justinribeiro/lighthouse | ||
# | ||
|
||
FROM debian:jessie | ||
FROM debian:buster-slim | ||
LABEL name="lighthouse" \ | ||
maintainer="Justin Ribeiro <[email protected]>" \ | ||
version="2.1" \ | ||
version="3.0" \ | ||
description="Lighthouse analyzes web apps and web pages, collecting modern performance metrics and insights on developer best practices." | ||
|
||
# Install deps + add Chrome Stable + purge all the things | ||
|
@@ -33,9 +33,17 @@ RUN apt-get update && apt-get install -y \ | |
--no-install-recommends \ | ||
&& curl -sSL https://deb.nodesource.com/setup_12.x | bash - \ | ||
&& curl -sSL https://dl.google.com/linux/linux_signing_key.pub | apt-key add - \ | ||
&& echo "deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \ | ||
&& echo "deb https://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list \ | ||
&& apt-get update && apt-get install -y \ | ||
google-chrome-stable \ | ||
fontconfig \ | ||
fonts-ipafont-gothic \ | ||
fonts-wqy-zenhei \ | ||
fonts-thai-tlwg \ | ||
fonts-kacst \ | ||
fonts-symbola \ | ||
fonts-noto \ | ||
fonts-freefont-ttf \ | ||
nodejs \ | ||
--no-install-recommends \ | ||
&& apt-get purge --auto-remove -y curl gnupg \ | ||
|