I have a docker file that copies a file tree to the container using the command in the docker file:
COPY image /
Docker copies all the files BUT the .sh
and .py
etc files in the source folder ( on windows ) have execute permission turned on. When the container is run the copies present in the container DO NOT have execute permission turned on?
How do I deal with this other than explicitly chmod +x
the files in the docker file when building the container (having to maintain a list of them etc) in this situation.