Skip to content

Commit

Permalink
Merge pull request #776 from snyk/fix/ignore-weak-deps
Browse files Browse the repository at this point in the history
fix: do not install weak deps
  • Loading branch information
soniqua authored Jun 5, 2024
2 parents e885bcc + 7a52e11 commit 8e78169
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dockerfiles/base/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ ENV PATH="/opt/app-root/src/node_modules/.bin/:/opt/app-root/src/.npm-global/bin

RUN <<EOF
set -ex
yum upgrade --assumeyes
yum clean all
rm -rf /var/cache/yum
dnf upgrade --assumeyes --best --setopt=install_weak_deps=False
dnf clean all
rm -rf /var/cache/dnf
# create default user and group
groupadd --gid 10001 snyk
useradd --gid 10001 --shell /sbin/nologin --uid 10001 snyk
Expand Down

0 comments on commit 8e78169

Please sign in to comment.