File tree Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Expand file tree Collapse file tree 2 files changed +15
-4
lines changed Original file line number Diff line number Diff line change 44 schedule :
55 # Update the E2E Firefox testcafe version on the first of every month
66 - cron : 0 0 1 * *
7+ workflow_dispatch :
78
89jobs :
910 build-e2e-docker-image :
Original file line number Diff line number Diff line change @@ -6,9 +6,19 @@ ENV NODE_VERSION 16.20.1
66# replace shell with bash so we can source files
77RUN rm /bin/sh && ln -s /bin/bash /bin/sh
88
9- # Bring in firefox into debian sources
10- RUN echo "deb http://deb.debian.org/debian/ unstable main contrib non-free" >> /etc/apt/sources.list.d/debian.list
11- RUN apt-get update && apt-get install -y g++ make libssl-dev python3 python3-setuptools gnupg2 firefox curl && apt-get -y autoclean
9+ # Install dependencies
10+ RUN apt-get update && apt-get install -y \
11+ g++ make libssl-dev python3 python3-setuptools gnupg2 curl wget \
12+ libgtk-3-0 libdbus-glib-1-2 libxt6 libx11-xcb1 libasound2 \
13+ && apt-get -y autoclean
14+
15+ # Download and install Firefox 143.0
16+ RUN ARCH=$(uname -m) && \
17+ apt-get install -y xz-utils && \
18+ wget -O /tmp/firefox.tar.xz "https://ftp.mozilla.org/pub/firefox/releases/143.0/linux-${ARCH}/en-US/firefox-143.0.tar.xz" && \
19+ tar -xJf /tmp/firefox.tar.xz -C /opt && \
20+ ln -s /opt/firefox/firefox /usr/local/bin/firefox && \
21+ rm /tmp/firefox.tar.xz
1222
1323# nvm environment variables
1424ENV NVM_DIR /usr/local/nvm
@@ -31,4 +41,4 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
3141RUN node -v
3242RUN npm -v
3343
34- CMD ["bash", "-l"]
44+ CMD ["bash", "-l"]
You can’t perform that action at this time.
0 commit comments