Add two-stage Dockerfile with CGO support

- Build stage: golang:1.24-alpine with vips-dev for CGO image libs
- Runtime stage: alpine:3.21 with vips runtime only
- Pass VERSION build arg for ldflags embedding
- Add 'make docker' target to build image with git version
This commit is contained in:
2026-01-08 15:05:49 -08:00
parent 467237c849
commit 4b2d85010e
3 changed files with 56 additions and 3 deletions

7
.dockerignore Normal file
View File

@@ -0,0 +1,7 @@
.git
.gitignore
*.md
Dockerfile
.dockerignore
.env*
.claude