Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Script: Docker build on windows systems*? #234

Open
Ballard-dev opened this issue Jun 10, 2024 · 0 comments
Open

Start Script: Docker build on windows systems*? #234

Ballard-dev opened this issue Jun 10, 2024 · 0 comments
Labels
type: bug Something isn't working

Comments

@Ballard-dev
Copy link

Ballard-dev commented Jun 10, 2024

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)

@Ballard-dev Ballard-dev added the type: bug Something isn't working label Jun 10, 2024
@Ballard-dev Ballard-dev changed the title Start Script: Docker build on windows systems Start Script: Docker build on windows systems*? Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant