Closed jauderho closed 2 years ago
I appreciate the contribution, but some details of this make me a little bit uncomfortable. I do not expect to have a use myself for a dockerized version of age (preferring distro packages where possible) except possibly in GH Actions before packages are available in the LTS images used — so this is me projecting on what I would look for if I was going to use one.
Thank you for building this! Generally, I prefer not to list unofficial (in the sense they are not maintained by the package manager authors or myself) installs in the README. I personally find Dockerizing individual CLI tools too granular, so I'll probably leave to each user figuring out what the right Docker setup is for them.
No worries. I'm happy to contribute using GH action to build the image as part of the repo. I've done this for drwetter's testssl.sh.
See https://github.com/drwetter/testssl.sh/blob/3.1dev/.github/workflows/docker-3.1dev.yml
You would need to add Docker credentials to secrets if you want to push to Docker Hub though which is why drwetter's setup is only pushing to GHCR for now.
Add option to use Docker image.
Source Dockerfile is here: https://github.com/jauderho/dockerfiles/blob/main/age/Dockerfile
Supported variants: linux/amd64, linux/arm64, linux/arm/v7, linux/arm/v6, linux/ppc64le
Images will be built whenever you tag a new release. HTH.