howmanypeoplearearound icon indicating copy to clipboard operation
howmanypeoplearearound copied to clipboard

Create a Docker image

Open aditisrinivas97 opened this issue 6 years ago • 5 comments

Create a docker image with all dependencies installed.

aditisrinivas97 avatar Jan 21 '19 19:01 aditisrinivas97

Different than https://github.com/schollz/howmanypeoplearearound/blob/master/README.md#docker-alternative ?

schollz avatar Jan 21 '19 21:01 schollz

What is present here is just a Dockerfile which means every time someone builds, it will have to install everything. My suggestion was to build an image and push it to DockerHub where everyone can just pull the image having all the dependencies installed.

aditisrinivas97 avatar Jan 22 '19 05:01 aditisrinivas97

Sounds good. I'm not the one to do this though because I don't have Mac OS.

schollz avatar Jan 22 '19 14:01 schollz

Hey, on second thoughts, all you need to do is publish the built image on Dockerhub. I can do it but if I do, I'll be the owner of the image. If you want me to do it, I can publish it and update the README. Let me know what works for you.

aditisrinivas97 avatar Jan 27 '19 11:01 aditisrinivas97

@schollz Hey - I just saw this issue and was thinking it could be implemented using a GitHub container repo combined with GitHub Actions. I could write an action that runs when you cut a release in GitHub with a semver. We could build the docker image in an Actions runner and push it out to the GitHub container repo with a tagged version. Then the public at large could pull from the ghcr.io repo if they're looking to use a container image, without having to deal with the build portion. LMK and I could get started on it.

kevholmes avatar Oct 28 '21 16:10 kevholmes