Skip to content

Commit d417c1e

Browse files
authored
Merge pull request #5 from WDGPH/mounted-secrets-dev
Use mounted files for credentials rather than injected envs, update to selenium image
2 parents c6ed4ea + 751d18c commit d417c1e

File tree

2 files changed

+278
-248
lines changed

2 files changed

+278
-248
lines changed

retrieval/dockerfile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ FROM python:3.9-bullseye
33
USER root
44

55
# Specify versions of Firefox and geckodriver
6-
ARG firefox_ver=124.0.2
7-
ARG geckodriver_ver=0.34.0
6+
ARG firefox_ver=135.0.1
7+
ARG geckodriver_ver=0.36.0
88

99
# Update apt-get
1010
RUN apt-get update
@@ -15,10 +15,10 @@ RUN apt-get install -y --no-install-recommends --no-install-suggests \
1515
# additional 'firefox-esl' dependencies which are not in 'depends' list
1616
libasound2 libxt6 libxtst6
1717

18-
# Download and install Firefox
19-
RUN curl -fL -o /tmp/firefox.tar.bz2 \
20-
https://ftp.mozilla.org/pub/firefox/releases/${firefox_ver}/linux-x86_64/en-GB/firefox-${firefox_ver}.tar.bz2 \
21-
&& tar -xjf /tmp/firefox.tar.bz2 -C /tmp/ \
18+
# Download and install Firefox
19+
RUN curl -fL -o /tmp/firefox.tar.xz \
20+
https://ftp.mozilla.org/pub/firefox/releases/${firefox_ver}/linux-x86_64/en-CA/firefox-${firefox_ver}.tar.xz \
21+
&& tar -xJf /tmp/firefox.tar.xz -C /tmp/ \
2222
&& mv /tmp/firefox /opt/firefox \
2323
&& ln -s /opt/firefox/firefox /usr/local/bin/firefox
2424

0 commit comments

Comments
 (0)