From d4e8f5128904431227723876fa52e24bb24c37b9 Mon Sep 17 00:00:00 2001 From: Nick Boldt Date: Thu, 10 Oct 2024 10:46:11 -0300 Subject: [PATCH] typo / tweak comments Signed-off-by: Nick Boldt --- .rhdh/docker/Dockerfile | 7 ++++--- docker/Dockerfile | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.rhdh/docker/Dockerfile b/.rhdh/docker/Dockerfile index f0b546063..ab0734f01 100644 --- a/.rhdh/docker/Dockerfile +++ b/.rhdh/docker/Dockerfile @@ -179,9 +179,10 @@ COPY $EXTERNAL_SOURCE_NESTED/patches/ ./patches/ # hadolint ignore=DL3059 RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000 -# default npm config to the default registry, not the cachito one - delete all the nested .npmrc files and set default values -RUN find . -type f -name .npmrc -exec rm -Rf {} \; - npm config set registry=https://registry.npmjs.org/; \ +# delete all the nested .npmrc files and set default values +RUN find . -type f -name .npmrc -exec rm -Rf {} \; && \ + # reset npm config to the default registry and absolute path to .pem file + npm config set registry=https://registry.npmjs.org/ && \ npm config set cafile /opt/app-root/src/registry-ca.pem # Stage 5 - Build the runner image diff --git a/docker/Dockerfile b/docker/Dockerfile index 426404bc3..653dd0876 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -108,9 +108,10 @@ COPY $EXTERNAL_SOURCE_NESTED/dynamic-plugins.default.yaml ./ # hadolint ignore=DL3059 RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000 -# default npm config to the default registry, not the cachito one - delete all the nested .npmrc files and set default values -RUN find . -type f -name .npmrc -exec rm -Rf {} \; - npm config set registry=https://registry.npmjs.org/; \ +# delete all the nested .npmrc files and set default values +RUN find . -type f -name .npmrc -exec rm -Rf {} \; && \ + # reset npm config to the default registry and absolute path to .pem file + npm config set registry=https://registry.npmjs.org/ && \ npm config set cafile /opt/app-root/src/registry-ca.pem # Stage 5 - Build the runner image