#!/bin/bash set -e source "$(dirname "$0")"/docker-helper.inc # Run the actual build process, with no networking permitted # Incremental builds do not update indexes correctly, so we cannot use them. # https://github.com/jekyll/jekyll/issues/3411 # https://github.com/jekyll/jekyll/issues/3747 # By including a container name, we automatically ensure that only one instance is running! # We may need to explore extra timeouts in future DOCKER_RUN_OPTIONS=( --name "gentoo.sites.www.build" ) docker_run_net_none jekyll build