Closed Mon-ius closed 2 months ago
After over 10 retries, I discovered the main issue: v6
won't copy the entrypoint.sh
file if bash
isn't available. I temporarily fixed it by changing #!/bin/bash
to #!/bin/sh
.
From the logs I don't see any issue at build time: https://github.com/Mon-ius/Docker-Warp-Socks/actions/runs/10761703139/job/29841206755#step:6:506
#34 [linux/s390x 4/4] COPY dev/v3/entrypoint.sh /run/entrypoint.sh
#34 DONE 0.0s
exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory
I guess this happens at runtime which is related to what you figure out https://github.com/docker/build-push-action/issues/1225#issuecomment-2336773293
Closing but feel free to reply if you think there is still an issue
Contributing guidelines
I've found a bug, and:
Description
I have an action file for build
v3
from the sub-sub-directory Dockerfile,The structure of project is:
The action file is:
Inside the
dev/v3/Dockerfile
, see DockerfileExpected behaviour
It should copy the
dev/v3/entrypoint.sh
fromgit
to/opt/entrypoint.sh
inside the container.Actual behaviour
exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory exec /opt/entrypoint.sh: no such file or directory
Repository URL
https://github.com/Mon-ius/Docker-Warp-Socks/blob/947deee8b7e222f43250fffdb0986c7fa1ce9b61
Workflow run URL
https://github.com/Mon-ius/Docker-Warp-Socks/actions/runs/10761703139
YAML workflow
Workflow logs
No response
BuildKit logs
No response
Additional info
No response