infamousjoeg/conjur-action

permission denied to exec entrypoint.sh

Closed this issue · 0 comments

cndsv commented

Hello
We get the following error with the action in our environment (customized github runners in AWS)

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

We solved the issue by adding a chmod +x in the Dockerfile:

FROM alpine:3.15.4
[...]
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

do you think that could be merged to master branch ?

Thanks for the action.