This is a multi-architecture Docker Image for Jekyll 4.3.1. It was designed to support the Agile in Action Minima Repo, but can be used for any website design.
How to use:
- Create or clone a Jekyll 4.3.1 repo to your local computer
- Add a file to the root of the repo and name it
Dockerfile
- At minimum, add the following line to the Dockerfile:
FROM billraymond/agile-in-action-minima-docker-image:latest
- Add any other RUN, ARG, ENV, etc elements to the file that you may need
- In Visual Studio Code, install the
Docker
andDev Containers
extensions - In VSC, run the command "Open folder in container..." and select Dockerfile. Do not select any other options
- The Docker image will build
- In the VSC terminal, type:
bundle install
bundle update
- Now you can run the Jekyll site with:
bundle exec jekyll serve --livereload