feat(docker): add distroless-based Docker image variant#21
Conversation
Add a new `pgsty/minio:<tag>-distroless` image using gcr.io/distroless/static-debian13 as the base image for improved security and minimal attack surface. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Just as a friendly input as someone who maintains a rootless/distroless minio image. The distroless image should be the default, not an additional tag. Give users the best option from the start, not as an option they might miss. |
16e34f9 to
f48dbe7
Compare
|
really good input and I would also like to have the abillity to use alpine based images. that would be a awesome addition! |
|
I agree distroless is awesome but there are use cases which differ and therefore if it is not too much of a hassle it is still nice to have. Didn't want to discredit your effort/input :) |
I’ve never come across such a use case, can you make an example where you need an image with a shell for MinIO? |
|
Sure I can but I think my usecase does not align with your security vision therefore it does not make sense to further discuss this here. As I said before I like your proposal so I'm all for merging this :) |
Summary
pgsty/minio:<tag>-distrolessimage usinggcr.io/distroless/static-debian13for minimal attack surface (no shell, no package manager, no glibc)pgsty/minio:<tag>-distrolessandpgsty/minio:latest-distrolessChanges
Dockerfile.distroless— new multi-stage Dockerfile based on distroless/static-debian13.github/goreleaser.yml— add distroless docker builds and manifests.github/workflows/test-release.yml— trigger on Dockerfile.distroless changes