Skip to content

Added local builds via docker

Phil Chandler requested to merge dev-pchandler into master

Setup a recipe for building the docs and JSON locally using the same methodology as is used in the CI pipeline.

Consists of:

  • A Dockerfile and custom entry point script (docker/entrypoint.sh)
  • New targets in the Makefile
  • A new section in the Readme.md describing usage of the recipe

The recipe's use of Docker mounts the local repo directory as a volume, and tries to map the in container user id to the host machine in order to preserve file permissions on the output files. This was based on other patterns found in the wild, and seems to work ok on Ubuntu Bionic (as the host). Hypothetically, it should be portable to Debian, FreeBSD, or MacOS, but those weren't tested.

Merge request reports