Build fpco/stack-build Docker images. This script and its Dockerfiles are used for building images for LTS >= 8.0.
./build.sh [--push] [--dry-run] [--small] lts-X.Y"
--help
: show this help
--push
: push the image after building/tagging it
--dry-run
: print the important commands that will be run, but don't actually
run them
--small
: build the small variant of the image
The image for the selected LTS version will be built.
This searches for a Dockerfile for the selected snapshot in
lts-X.Y/Dockerfile
, and if one isn't found reuses the same image as built the
most recent lts-X.Y/Dockerfile
found for earlier minor versions of the same
major version.