Here you are the content of the script running as a part of the entrypoint commands chain
!#/usr/bin/env bash chmod +x /my-script.sh && /my-script.sh runIt seems that the
/my-script.sh
file modification is still ongoing whilst we try to run it. The solution is to force system to flush buffers before using the file. Sync
command is what we need.
!#/usr/bin/env bash chmod +x /my-script.sh && sync && /my-script.sh run
Brak komentarzy:
Prześlij komentarz