-
Notifications
You must be signed in to change notification settings - Fork 47
/
Dockerfile
48 lines (39 loc) · 1.24 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
# Note: this is debian 11 (bullseye)
FROM cypress/browsers:node-18.16.1-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-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-11-jre-headless \
openjdk-11-jdk-headless \
openjdk-11-jre \
openjdk-11-jdk \
zip \
curl \
wget \
git \
less \
python \
python-dev \
python3-pip \
jq \
graphicsmagick=1.4+really1.3.36+hg16481-2+deb11u1 \
ghostscript=9.53.3~dfsg-7+deb11u6 \
chromium \
openssh-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.15.26.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
rm -rf awscliv2.zip
RUN pip install --upgrade pip
RUN wget -q -O terraform.zip https://releases.hashicorp.com/terraform/1.7.4/terraform_1.7.4_linux_amd64.zip && \
unzip -o terraform.zip terraform && \
rm terraform.zip && \
cp terraform /usr/local/bin/
CMD echo "🔥"