Skip to content

Commit

Permalink
ugh sonarcloud
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 d4e8f51 commit e3a127f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
7 changes: 3 additions & 4 deletions .rhdh/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -177,10 +177,9 @@ COPY $EXTERNAL_SOURCE_NESTED/patches/ ./patches/

# Install production dependencies
# hadolint ignore=DL3059
RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000

# delete all the nested .npmrc files and set default values
RUN find . -type f -name .npmrc -exec rm -Rf {} \; && \
RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000 && \
# delete all the nested .npmrc files and set default values
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
Expand Down
7 changes: 3 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ COPY $EXTERNAL_SOURCE_NESTED/dynamic-plugins.default.yaml ./

# Install production dependencies
# hadolint ignore=DL3059
RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000

# delete all the nested .npmrc files and set default values
RUN find . -type f -name .npmrc -exec rm -Rf {} \; && \
RUN "$YARN" install --frozen-lockfile --production --network-timeout 600000 && \
# delete all the nested .npmrc files and set default values
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
Expand Down

0 comments on commit e3a127f

Please sign in to comment.