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