Skip to content

Commit

Permalink
Update geckodriver URL
Browse files Browse the repository at this point in the history
  • Loading branch information
basil committed Jul 25, 2024
1 parent 4251ff4 commit a604915
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/ath-container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,10 @@ RUN apt-get update && apt-get -y --no-install-recommends install libgtk-3-0 liba

# Selenium needs a geckodriver in order to work properly
ENV GECKODRIVER_VERSION=0.34.0
# gross due to https://github.com/mozilla/geckodriver/issues/1956
RUN arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) && \
if [ "$arch" = "arm64" ] ; \
then \
curl -fsSLO https://github.com/jamesmortensen/geckodriver-arm-binaries/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux-aarch64.tar.gz && \
curl -fsSLO https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux-aarch64.tar.gz && \
tar -xvzf geckodriver-v${GECKODRIVER_VERSION}-linux-aarch64.tar.gz -C /usr/local/bin; \
else \
curl -fsSLO https://github.com/mozilla/geckodriver/releases/download/v${GECKODRIVER_VERSION}/geckodriver-v${GECKODRIVER_VERSION}-linux64.tar.gz && \
Expand Down

0 comments on commit a604915

Please sign in to comment.