From b1a143e28cda5ebbd95f42899eb38bf67dc03ab1 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Tue, 7 Mar 2023 21:02:48 +0100 Subject: [PATCH] Satisfy hadolint --- src/main/resources/ath-container/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/ath-container/Dockerfile b/src/main/resources/ath-container/Dockerfile index 1374d1f02c..3c34f60713 100644 --- a/src/main/resources/ath-container/Dockerfile +++ b/src/main/resources/ath-container/Dockerfile @@ -32,9 +32,9 @@ RUN apt-get update && \ apt-get clean all && rm -rf /var/cache/apt # Install a fixed firefox version that is known to work with the current selenium version, copied from https://hub.docker.com/r/selenium/node-firefox/dockerfile -ENV FIREFOX_VERSION 108.0.2 -# hadolint ignore=DL3008, DL3015 -RUN apt-get -y install libgtk-3-0 libasound2 libdbus-glib-1-2 libx11-xcb-dev libpci-dev libgl1-mesa-glx wget bzip2 \ +ARG FIREFOX_VERSION=108.0.2 +# hadolint ignore=DL3008 +RUN apt-get -y --no-install-recommends install libgtk-3-0 libasound2 libdbus-glib-1-2 libx11-xcb-dev libpci-dev libgl1-mesa-glx wget bzip2 \ && rm -rf /var/lib/apt/lists/* /var/cache/apt/* \ && curl --silent https://download-installer.cdn.mozilla.net/pub/firefox/releases/${FIREFOX_VERSION}/linux-x86_64/en-US/firefox-${FIREFOX_VERSION}.tar.bz2 --output /tmp/firefox.tar.bz2 \ && rm -rf /opt/firefox \