mirror of
https://github.com/casjaysdevdocker/jekyll
synced 2026-06-23 20:01:02 -04:00
3692269d6b734dd2f2554d58f4f9ee8df90cc7af
Update the embedded entrypoint copies in rootfs/ to match the upstream template change. Internal state files renamed to dotfiles so they're not matched by `/run/*.pid` cleanup globs: - /run/init.d/entrypoint.pid -> /run/.entrypoint.pid - /run/no_exit.pid -> /run/.no_exit.pid - /run/backup.pid -> /run/.backup.pid - /run/__start_init_scripts.pid -> /run/.start_init_scripts.pid Per-service PIDs in /run/init.d/ are unchanged. rootfs/usr/local/bin/entrypoint.sh rootfs/usr/local/etc/docker/functions/entrypoint.sh rootfs/usr/local/share/template-files/config/env/default.sample rootfs/usr/local/share/template-files/config/env/examples/zz-entrypoint.sh
Jekyll Docker Container with GitHub Pages Support
Docker container for Jekyll static site generator with full GitHub Pages support.
Features
- Based on Ruby 3.3 Alpine
- Jekyll with latest stable version
- Full GitHub Pages gem support
- Bundler for dependency management
- WEBrick for local serving
- Multi-architecture support (amd64, arm64)
Usage
Run Jekyll Server
docker run -d \
-p 4000:4000 \
-v $(pwd):/srv/jekyll \
casjaysdevdocker/jekyll
Create New Site
docker run --rm \
-v $(pwd):/srv/jekyll \
casjaysdevdocker/jekyll \
jekyll new my-site
Build Site
docker run --rm \
-v $(pwd):/srv/jekyll \
casjaysdevdocker/jekyll \
jekyll build
Serve with Live Reload
docker run -d \
-p 4000:4000 \
-v $(pwd):/srv/jekyll \
casjaysdevdocker/jekyll \
jekyll serve --host 0.0.0.0 --livereload
Environment Variables
LANG_VERSION- Jekyll version (default: latest)SERVICE_PORT- Port to expose (default: 4000)
Volumes
/srv/jekyll- Jekyll site directory/usr/local/share/template-files- Template files
Ports
4000- Jekyll development server
GitHub Pages
This container includes the github-pages gem which ensures compatibility with GitHub Pages deployment.
License
MIT - CasjaysDev
Description
Languages
Shell
91%
Dockerfile
9%