nodejs / docker-node

Official Docker Image for Node.js :whale: :turtle: :rocket:
https://hub.docker.com/_/node/
MIT License
8.13k stars 1.95k forks source link

add docker-entrypoint as a executable file #2069

Closed satodu closed 2 months ago

satodu commented 2 months ago

Description

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

Checklist

nschonni commented 2 months ago

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.