Skip to content

Created Dockerfile and added installation instructions

Description

This MR adds a Dockerfile that builds an image containing the whole BuildGrid source code directory.

Useful for both running and developing BuildGrid on all platforms that support Docker.

Usage instructions summary:

(also found in the docs)

Building a docker image:
cd /to/buildgrid/source/directory
docker build -t buildgrid_server .
Running a docker image:
docker run -i -p 50052:50052 buildgrid_server buildgrid/_app/settings/cas.yml
  • Use the appropriate ports from config file
    • Having the Dockerfile at the top level of this repo makes it straightforward to use for users, as they do not need to modify Dockerfiles or specify additional arguments to point to the directory containing the source code and configuration files.
  • All the files that were in the BuildGrid repo upon building this image will be accessible to the container for use as configuration files. (e.g. re-build image with all code and/or configuration file changes)

Changes proposed in this merge request:

This merge request, when approved, will close issue/bug:

#116 (closed)

Edited by Marios Hadjimichael

Merge request reports