Skip to content

Commit

Permalink
Do not install weak dependencies for nss_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mircea-cosbuc committed Dec 12, 2023
1 parent 5415e7b commit 0435982
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/dev/templates/agent/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
{% set base_image = "registry.access.redhat.com/ubi8/ubi-minimal" %}

{% block packages -%}
RUN microdnf install -y --disableplugin=subscription-manager curl \
hostname nss_wrapper tar gzip procps\
RUN microdnf install -y --disableplugin=subscription-manager --setopt=install_weak_deps=0 nss_wrapper
RUN microdnf install -y --disableplugin=subscription-manager curl \
hostname tar gzip procps\
&& microdnf upgrade -y \
&& rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 0435982

Please sign in to comment.