Skip to content

Commit

Permalink
Fix vulnerabilities in amd64_anax_k8s image
Browse files Browse the repository at this point in the history
Signed-off-by: Konrad-Pomian <[email protected]>
  • Loading branch information
K-Pomian authored and LiilyZhang committed Dec 4, 2024
1 parent ba91ac1 commit 4554f91
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions anax-in-k8s/Dockerfile.ubi.amd64
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ LABEL description="The agent in a container that is used solely for the purpose
ARG REQUIRED_RPMS="openssl ca-certificates shadow-utils jq iptables vim-minimal psmisc procps-ng tar"
RUN microdnf update -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
&& microdnf install -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager ${REQUIRED_RPMS} \
&& microdnf upgrade -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager krb5-libs \
&& microdnf clean all --disableplugin=subscription-manager \
&& rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.* \
&& mkdir -p /licenses /usr/horizon/bin /usr/horizon/web /var/horizon \
Expand Down

0 comments on commit 4554f91

Please sign in to comment.