Skip to content

Commit

Permalink
Fix docker arg
Browse files Browse the repository at this point in the history
  • Loading branch information
o-liver committed Jul 27, 2023
1 parent e67ce5f commit 073ce45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ jobs:
# https://github.com/hadolint/hadolint/wiki/DL3018
# https://github.com/hadolint/hadolint/wiki/DL3015
# https://github.com/hadolint/hadolint/wiki/DL3006 Make it work to build multiple node versions in one dockerfile via matrix build
args: --ignore DL3008 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3015 --ignore DL3006
# https://github.com/koalaman/shellcheck/wiki/SC2086 If we quote the JAVA_VERSION the ARG is not used
args: --ignore DL3008 --ignore DL3013 --ignore DL3016 --ignore DL3018 --ignore DL3015 --ignore DL3006 --ignore SC2086
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ARG JAVA_VERSION
FROM node:$BASE_IMAGE_TAG

RUN apt-get update && \
apt-get install -y chromium firefox-esr xvfb libxi6 libgbm1 libgconf-2-4 openjdk-"${JAVA_VERSION}"-jre && \
apt-get install -y chromium firefox-esr xvfb libxi6 libgbm1 libgconf-2-4 openjdk-$JAVA_VERSION-jre && \
rm -rf /var/lib/apt/lists/* /var/cache/apt/* && \
ln -s /usr/bin/chromium /usr/bin/google-chrome

Expand Down

0 comments on commit 073ce45

Please sign in to comment.