From f0d780179133529eef3a977738443115e72ec90f Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Sun, 11 Feb 2024 13:07:53 -0600 Subject: [PATCH] chore(ci): Ignore hadolint DL3006 > Always tag the version of an image explicitly Hadolint is unaware that the final FROM image is based on one of the two FROM's above, both of which are tagged. Therefore this is a false positive. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 7984e2f72..ce743546a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,6 +18,9 @@ FROM cm2network/steamcmd:root as base-amd64 FROM --platform=arm64 sonroyaalmerol/steamcmd-arm64:latest as base-arm64 ARG TARGETARCH +# Ignoring the lack of a tag here because the tag is defined in the above FROM lines +# and hadolint isn't aware of those. +# hadolint ignore=DL3006 FROM base-${TARGETARCH} LABEL maintainer="thijs@loef.dev" \