Use the docker-entrypoint.sh need to be executable to start the file
Added
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
Motivation and Context
After to use in my CI I got the error
ERROR: Job failed (system failure): Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker-entrypoint.sh": executable file not found in $PATH: unknown (exec.go:57:0s)
So I did the change
After to use in my CI I got the error
ERROR: Job failed (system failure): Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker-entrypoint.sh": executable file not found in $PATH: unknown (exec.go:57:0s)
So I did the change
Testing Details
After the change, worked fine in my CI build.
Example Output(if appropriate)
Types of changes
[ ] Documentation
[ ] Version change (Update, remove or add more Node.js versions)
[ ] Variant change (Update, remove or add more variants, or versions of variants)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Other (none of the above)
Checklist
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
These files are already marked executable, and the CI fails on the Official Images repo if they weren't. You've got something else going on in your environment that we can't troubleshoot for you.
Description
Use the docker-entrypoint.sh need to be executable to start the file
Added
Motivation and Context
After to use in my CI I got the error ERROR: Job failed (system failure): Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker-entrypoint.sh": executable file not found in $PATH: unknown (exec.go:57:0s)
So I did the change
After to use in my CI I got the error ERROR: Job failed (system failure): Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "docker-entrypoint.sh": executable file not found in $PATH: unknown (exec.go:57:0s)
So I did the change
Testing Details
After the change, worked fine in my CI build.
Example Output(if appropriate)
Types of changes
Checklist