From 95e6fc5f2920ef09c6953a1460d483d77b04e0f7 Mon Sep 17 00:00:00 2001 From: Emanuel Borsboom Date: Wed, 17 Jun 2020 17:06:28 -0700 Subject: [PATCH] CURATORS.md: clarify fpco/stack-build docker instructions for new LTS major versions --- CURATORS.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CURATORS.md b/CURATORS.md index da594cb2..624af5c1 100644 --- a/CURATORS.md +++ b/CURATORS.md @@ -294,7 +294,9 @@ problems on nightly or LTS major, you need to fix build-constraints.yaml (see info above). ### Building LTS minor releases -Before running the build, please make sure that the Dockerfile in `automated/dockerfiles/lts-X.Y` is up to date, where X is the major version that you're building and Y is the latest minor version of X for which a Dockerfile exists. If any changes need to be made, (eg, new GHC version), copy `lts-X.Y/Dockerfile` to `lts-X.Z/Dockerfile`, where Z is the minor version you're building, and include the new changes. +Before running the build, please make sure that the Dockerfile in `automated/dockerfiles/lts-X.Y` is up to date, where X is the major version that you're building and Y is the latest minor version of X for which a Dockerfile exists. + * If any changes need to be made, (eg, new GHC version), copy `automated/lts-X.Y/Dockerfile` to `automated/lts-X.Z/Dockerfile`, where Z is the minor version you're building, and include the new changes. + * If you are building the first release of a new LTS major version, create a new `lts-X.Z/Dockerfile` based on the previous LTS's, and adjust the variables at the top to match the requirements of the snapshot. Ensure that `STACK_VERSION` is the latest release of Stack, and `BOOTSTRAP_COMMIT` is the commit ID of this repo containing the version of the `bootstrap-commit.sh` used to build the snapshot. First run `build.sh` to regenerate updated `ltsXX/work/constraints.yaml` and `ltsXX/work/snapshot-incomplete.yaml` files.