|
chmod +x "${USER_PATCHES}" |
I bet a check could be added to avoid the chmod +x on each run
chmod: changing permissions of '/tmp/docker-mailserver/user-patches.sh': Read-only file system
I mount as read only the script - ${USER_PATCHES_FILE:-./user-patches.sh}:/tmp/docker-mailserver/user-patches.sh:ro
docker-mailserver/target/scripts/startup/setup-stack.sh
Line 1624 in 7293e3c
I bet a check could be added to avoid the chmod +x on each run
I mount as read only the script
- ${USER_PATCHES_FILE:-./user-patches.sh}:/tmp/docker-mailserver/user-patches.sh:ro