diff --git a/Dockerfile b/Dockerfile index 5fccae04..13a0257e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,8 @@ ARG GECKODRIVER_VERSION="0.34.0-r0" # renovate: datasource=repology depName=alpine_3_19/openssl versioning=loose ARG OPENSSL_VERSION="3.1.4-r5" -RUN apk add --no-cache firefox && \ - apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community geckodriver && \ +RUN apk add --no-cache firefox=="${FIREFOX_VERSION}" && \ + apk add --no-cache --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community geckodriver=="${GECKODRIVER_VERSION}" && \ ln -s /usr/bin/geckodriver /usr/local/bin/geckodriver && \ rm -rf /var/cache/apk/* /tmp/* diff --git a/Dockerfile.debian b/Dockerfile.debian index 688feb1a..4dc46e62 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -101,7 +101,7 @@ ARG FIREFOX_VERSION="115.7.0esr-1~deb12u1" # Install required packages RUN apt-get update && \ - apt-get install -y --no-install-recommends firefox-esr && \ + apt-get install -y --no-install-recommends firefox-esr=="${FIREFOX_VERSION}" && \ apt-get autoremove -y && \ apt-get clean && \ rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /usr/share/doc /usr/share/man