Browse Source

dockerfile: hide irrelevant linter warnings

Fabian Peter Hammerle 3 years ago
parent
commit
ca112bf0d3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Dockerfile

+ 2 - 0
Dockerfile

@@ -5,6 +5,7 @@ ARG SOURCE_DIR_PATH=/location-guessing-game-telegram-bot
 # hadolint ignore=DL3006
 FROM $BASE_IMAGE as build
 
+# hadolint ignore=DL3008
 RUN apt-get update \
     && apt-get install --no-install-recommends --yes \
         ca-certificates \
@@ -45,6 +46,7 @@ USER build
 # hadolint ignore=DL3006
 FROM $BASE_IMAGE
 
+# hadolint ignore=DL3008
 RUN apt-get update \
     && apt-get install --no-install-recommends --yes ca-certificates \
     && rm -rf /var/lib/apt/lists/* \