Skip to content

feat: Add Docker image#77

Open
sevir wants to merge 2 commits intoKeats:masterfrom
sevir:dockerfile
Open

feat: Add Docker image#77
sevir wants to merge 2 commits intoKeats:masterfrom
sevir:dockerfile

Conversation

@sevir
Copy link

@sevir sevir commented Oct 7, 2025

This Dockerfile allow to create a docker image for running kickstart without download the binary and working with the same binary in Windows, Linux and OSX

An example for running using docker:
docker run -it ghcr.io/sevir/kickstart:latest --help

I've pushed the image into the Github Container Registry, but works with any docker image

…ause distroless does not include git that is a requirement for kickstart
@sevir
Copy link
Author

sevir commented Oct 7, 2025

debian12 distroless does not have git, I don't see that is a requirement for kickstart, I changed for debian 12 slim with git

@Keats
Copy link
Owner

Keats commented Oct 8, 2025

Does this need to be in the repository?

@sevir
Copy link
Author

sevir commented Oct 8, 2025

Normally the image build process includes to build the binary and copy the binary into the final image. Users can write a Dockerfile that downloads the last release binary but is not associated to the specific version, and is less standard.

So, yes, normally Dockerfile is associated with the source in the repository

@Keats
Copy link
Owner

Keats commented Oct 9, 2025

I think to do that well, it needs to be hooked in GH actions like https://github.com/getzola/zola/blob/master/.github/workflows/release.yml#L135 so it publishes the docker image automatically on new tags. I will never remember to publish a new version otherwise. I think for the Dockerfile I would rather have something where I can specify the version like in https://github.com/getzola/zola/blob/master/Dockerfile

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 this pull request may close these issues.

3 participants