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 · 2 comments · May be fixed by #316
Open

libssl apparently missing from API image built from Dockerfile #315

WillNilges opened this issue Dec 24, 2023 · 2 comments · May be fixed by #316
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
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

Successfully merging a pull request may close this issue.

1 participant