Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ ARG STATIC_LINK=no

RUN make

FROM registry.redhat.io/rhel9-4-els/rhel-minimal:latest
FROM registry.redhat.io/ubi9/ubi-minimal:latest

RUN microdnf install -y --setopt=tsflags=nodocs tar libseccomp
RUN microdnf clean all && rm -rf /var/cache/*

RUN INSTALL_PKGS="tar libseccomp" && \
if [ ! -e /usr/bin/dnf ]; then ln -s /usr/bin/microdnf /usr/bin/dnf; fi && \
dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
dnf clean all && rm -rf /var/cache/*
LABEL \
io.k8s.display-name="Security Profiles Operator" \
io.k8s.description="The Security Profiles Operator makes it easier for cluster admins to manage their seccomp, or SELinux profiles and apply them to Kubernetes' workloads." \
Expand Down