Selaa lähdekoodia

dockerfile: hide irrelevant linter warnings

Fabian Peter Hammerle 3 vuotta sitten
vanhempi
commit
ca112bf0d3
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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/* \