Hi,
I'm forked Writefreely to add a CloudronManifest.json
file and adjusted the Dockerfile
to install it in my Cloudron instance. The Docker image builds successfully but when Cloudron tries to run it, I get the following error when it runs box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
:
standard_init_linux.go:228: exec user process caused: exec format error
I did a bit of search on the internet and it turns out the restartservice.sh
might be missing the shebang and therefore the OS doesn't know how to execute the script. I replaced the Alpine image with Ubuntu's and the issue persists so I'm not quite sure what I can install/configure in the OS for that script to run successfully. Any ideas?
Thanks in advance,
Pedro