Skip to content

Commit

Permalink
Satisfy hadolint
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyFault committed Mar 7, 2023
1 parent d2dcac0 commit b1a143e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/ath-container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit b1a143e

Please sign in to comment.