1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00

Bug 1904573: baremetal container modify /etc/passwd group writable

This workaround was introduced because it broke Metal IPI CI. However,
the Metal team is now using `nss_wrapper`, so it should not be needed
anymore.
This commit is contained in:
Rafael Fonseca
2023-02-17 10:56:23 +01:00
parent 9006c22f66
commit cd49f4b0e5

View File

@@ -20,8 +20,7 @@ COPY --from=builder /go/src/github.com/openshift/installer/bin/openshift-install
RUN dnf upgrade -y && \
dnf install --setopt=tsflags=nodocs -y \
libvirt-libs-$libvirt_version openssl unzip jq openssh-clients && \
dnf clean all && rm -rf /var/cache/yum/* && \
chmod g+w /etc/passwd
dnf clean all && rm -rf /var/cache/yum/*
RUN mkdir /output && chown 1000:1000 /output
USER 1000:1000