Skip to content

Conversation

@NyanKiyoshi
Copy link

This adds a Dockerfile in order to allow the users to run the project using containers.

This adds a `Dockerfile` in order to allow the users to run the project using containers.
The `distroless` flavor is useful to keep image size to the bare minimum but it can be problematic for certain type of work. For example, if the `distroless` flavor is used inside a GitHub Workflow with `jobs.<job_id>.container` (instead of `jobs.<job_id>.steps[*].run` containing `docker run <distroless-image> [...]`) as GitHub will try to run system commands such as `tail` which will fail.

This thus adds a non-distroless flavor that can be used if the user intents to use system binaries (package managers, shells, etc.)
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.

1 participant