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

Docker container - panamax serve broken #51

Closed
g-radam opened this issue Nov 10, 2021 · 3 comments · Fixed by #62
Closed

Docker container - panamax serve broken #51

g-radam opened this issue Nov 10, 2021 · 3 comments · Fixed by #62

Comments

@g-radam
Copy link

g-radam commented Nov 10, 2021

Serving panamax within a container, and attempting to fetch packages via cargo fails with response 500. I debugged and identified the container does not have git installed which is invoked in the Rust code. Its possible the Debian base image had git installed in a previous version, but has since been removed? Regardless, manually adding git resolves the issue.

Dockerfile patch:

---
RUN apt install -y libssl1.1 ca-certificates
---
+++
RUN apt install -y libssl1.1 ca-certificates git
+++
@g-radam g-radam changed the title Docker container broken Docker container - panamax serve broken Nov 10, 2021
@k3d3
Copy link
Member

k3d3 commented Nov 20, 2021

Oh no! Good catch, thank you! I'll try to get this fixed over the weekend.

@g-radam
Copy link
Author

g-radam commented Nov 24, 2021

Champion! Thanks k3d3.

@JamesMConroy
Copy link
Contributor

I'm still getting this issue with the latest docker image.

Even after installing git on the running container I still get 404 errors when trying to install ripgrep or rustfmt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants