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

fix: issues running with docker #157

Open
Alch-Emi opened this issue Jan 20, 2022 · 4 comments
Open

fix: issues running with docker #157

Alch-Emi opened this issue Jan 20, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@Alch-Emi
Copy link

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!

@yusdacra
Copy link
Member

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.

@yusdacra yusdacra added the bug Something isn't working label Jan 20, 2022
@Alch-Emi
Copy link
Author

Running with Ubuntu worked great! Thank you!

@yusdacra
Copy link
Member

Running with Ubuntu worked great! Thank you!

A PR would be appreciated, if you can 🙂

@wjbeckett
Copy link

Here ya go.
#209

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants