Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

Docker container for CI/CD builds #160

Open
LordMZTE opened this issue Jan 5, 2021 · 4 comments
Open

Docker container for CI/CD builds #160

LordMZTE opened this issue Jan 5, 2021 · 4 comments

Comments

@LordMZTE
Copy link

LordMZTE commented Jan 5, 2021

A docker container based on rust:alpine or rust:buster would make building debian packages using CI/CD services such as drone much easier.

Of course, cargo-deb could also be installed in the container after the fact, but having a pre-made container with it would make the process cleaner.

@kornelski
Copy link
Collaborator

As far as I know, this doesn't need any special sauce in cargo-deb, and it's only a matter of publishing a docker image with it. Since personally I don't use Docker, I'll leave it for someone else to handle.

@LordMZTE
Copy link
Author

Would a pull request adding a Dockerfile to this repo be accepted?
If so would the docker image be published on the docker hub account of one of this repo's maintainers, or should I publish it on my docker hub?

@kornelski
Copy link
Collaborator

Please publish it under your account. I don't use Docker, so I can't commit to maintaining an image for it.

@jbabyhacker
Copy link

Maybe a better approach would be to include compiled binaries onto the github releases page. That way, you can just download the executable into your docker container instead of building it from source.

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

No branches or pull requests

3 participants