Skip to content

Commit

Permalink
typo / tweak comments
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Boldt <[email protected]>
  • Loading branch information
nickboldt committed Oct 10, 2024
1 parent 61fd207 commit d4e8f51
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .rhdh/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d4e8f51

Please sign in to comment.