Background
nginx pinned to 1.28.2 in Dockerfile to match Alpine's nginx-mod-http-brotli package version.
FROM nginx:1.28.2-alpine # Pinned - see below
Current State
- Dockerfile: nginx:1.28.2-alpine
- Alpine package: nginx-mod-http-brotli 1.28.2
- Latest nginx: 1.29.5
- Status: ✅ Working (versions match)
Action Required
Check monthly if Alpine updated nginx-mod-http-brotli to 1.29+:
# Check Alpine package version
docker run --rm alpine:latest apk info nginx-mod-http-brotli | grep Version
When package updates to 1.29+:
- Update Dockerfile:
FROM nginx:alpine # or nginx:1.29-alpine
- Test locally:
pnpm build:prod
docker compose -f prod.compose.yml build
docker compose -f prod.compose.yml up -d
docker exec controlforge-website nginx -V 2>&1 | grep nginx/
- Deploy:
- Verify:
curl -sI -H "Accept-Encoding: br" https://controlforge.dev/ | grep content-encoding
# Should see: content-encoding: br
- Close this issue
References
Check Schedule
Background
nginx pinned to 1.28.2 in Dockerfile to match Alpine's nginx-mod-http-brotli package version.
FROM nginx:1.28.2-alpine # Pinned - see belowCurrent State
Action Required
Check monthly if Alpine updated nginx-mod-http-brotli to 1.29+:
When package updates to 1.29+:
FROM nginx:alpine # or nginx:1.29-alpineReferences
Check Schedule