spiffe / tornjak

Tornjak is a UI and management layer used for brokering human access to one or more SPIRE deployments
Apache License 2.0
74 stars 32 forks source link

[Bug Backend on Windows] #457

Open Xiaocao-Cxh opened 2 months ago

Xiaocao-Cxh commented 2 months ago

In the Dockerfile.backend-container file, current code does not work with windows machine. It needs to add command RUN dos2unix run_backend.sh between COPY scripts/run_backend.sh run_backend.sh in line 27 and COPY --from=builder /usr/src/myapp/bin/tornjak-backend tornjak-backend in line 28. This has been checked with Maia Iyer. It is recommended to create a windows version where the new line of command can be added to resolve this issue.