scherzo
scherzo copied to clipboard
fix: issues running with docker
howdy! i'm trying to set up scherzo with docker on my VPS, but i'm running into some issues.
using yusdacra/scherzo:latest
(76e317e
at writing), i'm getting the error:
standard_init_linux.go:228: exec user process caused: no such file or directory
building the docker image from source produces the same result (commit f17da7c
), as does running with docker compose or the docker command provided in the README.
i'm running docker-compose version 1.25.0 with Docker version 20.10.12, build e91ed57 on Ubuntu 20.04.3 LTS. My docker compose snippet is:
version: "3"
services:
scherzo:
image: yusdacra/scherzo:latest
volumes:
- /data/scherzo/db:/srv/scherzo/db
- /data/scherzo/media:/srv/scherzo/media
...
any advice is appreciated. thank you very much!
I believe this is because CI does not build the binaries with musl anymore. The docker image uses Alpine, so it won't work. A simple fix would be to probably just use an Ubuntu base image instead of an Alpine one. Ideally I'd like the CI to build musl binaries again, but this is currently blocked due to a dependency.
Running with Ubuntu worked great! Thank you!
Running with Ubuntu worked great! Thank you!
A PR would be appreciated, if you can :slightly_smiling_face:
Here ya go. #209