fix: separate hadolint ignores per-line (DL4006 on USER, DL3008 on RUN)
This commit is contained in:
+2
-1
@@ -7,8 +7,9 @@ ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
|
||||
NPM_CONFIG_LOGLEVEL=warn \
|
||||
NODE_ENV=production
|
||||
|
||||
# hadolint ignore=DL3008,DL4006
|
||||
# hadolint ignore=DL4006
|
||||
USER root
|
||||
# hadolint ignore=DL3008
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y --no-install-recommends \
|
||||
python3 \
|
||||
|
||||
Reference in New Issue
Block a user