ayon-backend
ayon-backend copied to clipboard
Start Script: Docker build on windows systems*?
Story
When building a docker image on windows systems the start.sh script uses syntax seemingly not available in a Windows env.
To reproduce
Steps to reproduce the behavior:
- Pull the docker repository
- Change the name of the image in Makefile
- (Optional?) Change backend/frontend repositories to forked (inline with commits from ynput)
- Run
docker compose build
- Run
docker compose up
- Get message
GOOD NEWS Setup is finished
-
/backend/start.sh: 17: Syntax error: "(" unexpected
Expected behavior
- Pull the docker repository
- Change the name of the image in Makefile
- Run
docker compose build
- Run
docker compose up
- Get message
GOOD NEWS Setup is finished
- Get message
GOOD NEWS Server is now ready to connect
Environment
- Server version: N/A
- Server host OS: Windows 10
- Browser: N/A
- Client version: N/A
Additional context
I have a workaround for this issue, but it results in trap: SIGTERM: bad trap currently. I am looking at other fixes. (I am able to start the server with a built image with the workaround)