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