Fix podman-login workaround
Some checks failed
/ Build oci-builder ver4a-compat (push) Failing after 46s
Some checks failed
/ Build oci-builder ver4a-compat (push) Failing after 46s
This commit is contained in:
parent
31baae3a80
commit
c618896d2d
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue