spotify / docker-maven-plugin

INACTIVE: A maven plugin for Docker
Apache License 2.0
2.66k stars 575 forks source link

Permission denied when running a shell script in RUN command. #375

Closed dwjohnston closed 6 years ago

dwjohnston commented 6 years ago

I'm using Windows 10.

I'm trying to use this method to configure a wildfly image.

When I build the image manually it works.

But when I run the image via maven, I get:

[INFO] Step 10/10 : RUN /opt/jboss/wildfly/customization/execute.sh
[INFO]  ---> Running in 9889a0bc9276
[INFO] /bin/sh: /opt/jboss/wildfly/customization/execute.sh: Permission denied

Any suggestions?

mattnworb commented 6 years ago

have you checked the file permissions of the file inside the container? (i.e. chmod +x ...)

davidxia commented 6 years ago

closing due to inactivity