This directory contains Docker-related files for the zero-pin dependency strategy.
| File | Purpose |
|---|---|
Dockerfile |
Multi-stage build with zero version pins |
config/production.yml |
Jekyll production configuration overlay |
config/development.yml |
Jekyll development configuration overlay |
The Dockerfile uses ruby:slim without version pins, allowing Docker Hub to resolve the latest Ruby version. Similarly, Bundler resolves the latest compatible gem versions at build time.
# From project root
docker compose up
docker compose -f docker-compose.yml -f docker-compose.test.yml build --no-cache
docker compose -f docker-compose.yml -f docker-compose.test.yml run jekyll
# Use immutable tag from CI (never :latest)
IMAGE_TAG=20251128-1420-a1b2c3d docker compose -f docker-compose.prod.yml up -d
To publish Docker images, configure these secrets in GitHub:
DOCKER_USERNAME - Docker Hub usernameDOCKER_TOKEN - Docker Hub access token