Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make entrypoint executable #274

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

phoehnel
Copy link

When trying to build & run the Dockerfile in it's current version, I came across the problem, that the entrypoint was not executable.

This results in the error:

docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "/app/entrypoint.sh": permission denied: unknown.

I am unsure if this ever worked in other environments, or if something like the default-mode changed in the base image.
Nevertheless, this change ensures the entrypoint is copied with the right permissions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant