-
Notifications
You must be signed in to change notification settings - Fork 46
/
Copy pathDockerfile
50 lines (41 loc) · 1.26 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Note: node-20.14.0-chrome-125.0.* is debian 12.5 (bookworm)
FROM cypress/browsers:node-20.18.0-chrome-130.0.6723.69-1-ff-131.0.3-edge-130.0.2849.52-1
WORKDIR /home/app
# needed to install jre successfully
RUN mkdir -p /usr/share/man/man1
RUN apt-get update
RUN apt-get install -y \
openjdk-17-jre-headless \
openjdk-17-jdk-headless \
openjdk-17-jre \
openjdk-17-jdk \
zip \
curl \
wget \
git \
less \
python-is-python3 \
2to3 \
python3 \
python3-dev \
python-dev-is-python3 \
python3-pip=23.0.1+dfsg-1 \
jq \
graphicsmagick \
ghostscript \
openssh-client \
postgresql-client \
sudo
# These are needed to prevent node canvas from failing during node-gyp build steps
RUN apt-get install -y build-essential
RUN apt-get install -y libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
ENV JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-2.22.27.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip
RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.10.3/terraform_1.10.3_linux_amd64.zip && \
unzip -o terraform.zip terraform && \
rm terraform.zip && \
cp terraform /usr/local/bin/
CMD echo "🔥"