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

libssl apparently missing from API image built from Dockerfile #315

Open
WillNilges opened this issue Dec 24, 2023 · 3 comments · May be fixed by #316 or #347
Open

libssl apparently missing from API image built from Dockerfile #315

WillNilges opened this issue Dec 24, 2023 · 3 comments · May be fixed by #316 or #347
Labels
bug Something isn't working

Comments

@WillNilges
Copy link

Description of the bug

Trying to tweak crab fit to do some modifications for a ticketing system. Built the Dockerfile for the API, but hit libssl errors when I run it with Docker Compose:

mesh-fit-1  | ./api: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

To reproduce

$ cd api
$ docker build . --tag crab-fit
$ docker run crab-fit

Expected behavior

Crab fit API starts up and waits for connections

Additional information

No response

@WillNilges WillNilges added the bug Something isn't working label Dec 24, 2023
@WillNilges
Copy link
Author

Part of the issue might be that you're using Buster for the build image, but Bullseye for the container image:
https://stackoverflow.com/questions/76508361/getting-error-while-loading-shared-libraries-libssl-so-1-1-when-running-docke?answertab=scoredesc#tab-top

@WillNilges
Copy link
Author

I managed to fix it by switching to debian:bookworm-slim and installing openssl

@WillNilges WillNilges linked a pull request Dec 24, 2023 that will close this issue
@gambit-dross
Copy link

gambit-dross commented Oct 21, 2024

@WillNilges mind sharing your Docker Compose file? Do you have one for schej?

@pratclot pratclot linked a pull request Nov 17, 2024 that will close this issue
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
2 participants