netbrain / zwift

Easily zwift on linux
The Unlicense
230 stars 27 forks source link

Refactor updating/installing/running Zwift into their own scripts. #108

Closed hobeone closed 2 months ago

hobeone commented 2 months ago

First pass at addressing #96

hobeone commented 2 months ago

Added to the github action file.

Also fixed an issue in entrypoint where we need to find the home directory of "user" and can't just use $HOME because it's being run as root.

I've run the docker image in both normal and "update" mode and it seems to be doing the right thing.

netbrain commented 2 months ago

https://github.com/netbrain/zwift/actions/runs/8968933628/job/24629346959

Error response from daemon: Could not find the file /bin/run_zwift.sh in container zwift

hobeone commented 2 months ago

Hmm. Is there a skew between the Dockerfile that the workflow uses and head? Does the new Dockerfile need to be pushed somehow so it get's pulled when the workflow does docker pull netbrain/zwift:latest ?