-
Notifications
You must be signed in to change notification settings - Fork 91
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
Add docker image #299
Comments
Yup that would be a good improvement, I was a bit surprised they didn't have a more integrated / automatic way of doing this for actions. But should be possible to do manually |
I'm not sure this would be the best path. Right now, the Dockerfile is using I believe there is a much better option however. Since you are just running an executable, you don't actually need Rust to be installed in the Docker image. So I changed the base image to I could be mistaken about what requirements are needed for the executable to run, but this is how we run our Rust-compiled Veloren server. I'd be happy to discuss more if there are any other Docker issues 😄 |
Actually scratch that, I came across this issue. I'll see if I can still think of a better way to go about it... |
I would love to just use a minimal alpine base, unfortunately #295 blocks that right now. |
😆 ya this is indeed turning out to be a very deep rabbit hole |
Right now, the cargo-deny-action repo uses a dockerfile for the action, but this means that it gets built from scratch every time, which is inefficient, even if takes <30s, instead, we should publish an image to the Github Container Registry for every version of cargo-deny that it can use instead.
The text was updated successfully, but these errors were encountered: