From c618896d2db1d2b19c2e623a18220561784fda8b Mon Sep 17 00:00:00 2001 From: ver4a Date: Tue, 15 Apr 2025 14:24:18 +0200 Subject: [PATCH] Fix podman-login workaround --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 38c300b..176cb37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,12 @@ ENV REGISTRY_AUTH_FILE=/builder/.config/containers/auth.json # This is a workaround for https://github.com/containers/podman/issues/23818, apart from that it serves absolutely no purpose. I also don't know why it looks there, given HOME is elsewhere, but it doesn't seem to cause any issues. RUN mkdir /.config && chown 65534:65534 /.config -# This works around https://github.com/redhat-actions/podman-login/pull/43, until this PR is merged at least -RUN mkdir /builder/.docker RUN mkdir /builder /builder/.config && chown -R 65534:65534 /builder +# This works around https://github.com/redhat-actions/podman-login/pull/43, until this PR is merged at least +RUN mkdir /builder/.docker + WORKDIR /builder RUN setcap cap_setuid=ep /usr/bin/newuidmap cap_setgid=ep /usr/bin/newgidmap