ynput / ayon-backend

Server codebase with API access to AYON

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Start Script: Docker build on windows systems*?

Ballard-dev opened this issue · comments

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:

  1. Pull the docker repository
  2. Change the name of the image in Makefile
  3. (Optional?) Change backend/frontend repositories to forked (inline with commits from ynput)
  4. Run docker compose build
  5. Run docker compose up
  6. Get message GOOD NEWS Setup is finished
  7. /backend/start.sh: 17: Syntax error: "(" unexpected

Expected behavior

  1. Pull the docker repository
  2. Change the name of the image in Makefile
  3. Run docker compose build
  4. Run docker compose up
  5. Get message GOOD NEWS Setup is finished
  6. 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)