-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jonathan Pigrée
committed
Jan 9, 2024
1 parent
f6ceee7
commit a62f709
Showing
1 changed file
with
29 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM govpf/node:18 | ||
|
||
RUN apt-get update && \ | ||
DEBIAN_FRONTEND="noninteractive" \ | ||
apt-get install -y --no-install-recommends \ | ||
chromium \ | ||
gconf-service \ | ||
libasound2 \ | ||
libatk1.0-0 \ | ||
libatk1.0-0 \ | ||
libdbus-1-3 \ | ||
libgconf-2-4 \ | ||
libgtk-3-0 \ | ||
libnspr4 \ | ||
libnss3 \ | ||
libx11-xcb1 \ | ||
libxss1 \ | ||
libxtst6 \ | ||
fonts-liberation \ | ||
xdg-utils \ | ||
lsb-release \ | ||
&& curl -L https://github.com/Yelp/dumb-init/releases/download/v1.2.1/dumb-init_1.2.1_amd64.deb > /tmp/dumb-init.deb \ | ||
&& dpkg -i /tmp/dumb-init.deb \ | ||
&& rm /tmp/dumb-init.deb \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
ENTRYPOINT ["dumb-init"] | ||
|
||
ENV CHROME_BIN /usr/bin/chromium |