Newer
Older
POPs-renovate-tools_29Nov2024
committed
ARG BASE_TAG=9.5
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG} as build
COPY authservice.tar.gz /
RUN microdnf upgrade -y && \
microdnf clean all && \
rm -rf /var/cache/dnf && \
echo "auth-server-grp:x:999:" >> /etc/group && \
echo "auth-server-usr:x:1000:999::/app:/sbin/nologin" >> /etc/passwd
COPY --from=build --chown=auth-server-usr:auth-server-grp /authservice-fips-linux-amd64 /app/authservice