Sign inSign up

minhng/jekyll

By minhng

β€’Updated about 1 year ago

Jekyll 4.4.1

Image
Languages & frameworks
Web servers
Content management system
0

128

minhng/jekyll repository overview

β πŸ“¦ Jekyll 4.4.1 on Ruby 3.4.6

A Docker image for building and serving Jekyll sites, based on the official ruby:3.4.6-trixie⁠ image.


β πŸ”§ Installed Components

  • Ruby 3.4.6 (Debian Trixie)
  • Jekyll 4.4.1
  • Bundler 2.7.2
  • System utilities: git, curl, ssh, nano, htop, wget, unzip
  • Build essentials: build-essential, zlib1g-dev, ca-certificates, lsb-release, apt-transport-https

πŸ“ Image size: ~1.19 GB ⏱️ Build time: ~5 minutes


β πŸš€ Usage with Docker Compose

Here’s a sample docker-compose.yml to run your Jekyll project:

version: "3.9"

services:
  jekyll:
    image: minhng/jekyll:4.4.1
    container_name: jekyll_server
    
    # Mount your Jekyll project
    volumes:
      - ./myblog:/srv/jekyll
      - /etc/timezone:/etc/timezone:ro
      - /etc/localtime:/etc/localtime:ro
    
    working_dir: /srv/jekyll
    
    # Run Jekyll server
    command: >
      bash -c "bundle install --gemfile=Gemfile &&
               jekyll serve --host 0.0.0.0 --port 4000 --watch"
    
    ports:
      - "4000:4000"
    
    restart: unless-stopped

β πŸ“‚ Workflow

  1. Place your Jekyll project inside ./myblog

  2. Start the container:

    docker compose up -d
    
  3. Open http://localhost:4000⁠ in your browser to preview your site.


β πŸ› οΈ Customization

  • Change ./myblog to your own Jekyll project directory.
  • Override command: to fit your needs (e.g., build only: jekyll build).
  • Mount additional volumes for persistent data if required.

Tag summary

Content type

Image

Digest

sha256:325bc75f2…

Size

445.5 MB

Last updated

about 1 year ago

docker pull minhng/jekyll:4.4.1