Automated builds
We followed docker's instruction for automated builds, to automate the workflow from committing to the Ampersand repository on Github to the corresponding docker image on Docker hub.
Manual builds
If you must do things on your own, you might want to reproduce parts of the builds.
The Dockerfile for the Ampersand compiler resides in the root of the Ampersand repository. So from the command line, if you are at the root of the Ampersand repository, you can call docker build .
to create the image. See this page for more details.
The package.yaml file for the Ampersand compiler resides in the root of the Ampersand repository. So from the command line, if you are at the root of the Ampersand repository, you can call stack install
to create the image. See this page for more details.