forked from hypothesis/browser-extension
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (19 loc) · 653 Bytes
/
Copy pathDockerfile
File metadata and controls
22 lines (19 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# We use Alpine as a base image and then install Node separately
# rather than using a Node base image because this enables automated tools to
# upgrade everything by simply updating the Alpine version.
#
# Alpine is updated every 6 months so all packages are pretty recent.
FROM alpine:3.13
RUN apk update && apk add --no-cache \
chromium \
git \
make \
nodejs \
rsync \
yarn \
zip
# Do not download a Chrome build as part of installing the "puppeteer" package,
# it won't work in Alpine.
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
# Enable test scripts to detect that they are running from the Docker image.
ENV RUNNING_IN_DOCKER true