mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-12 23:38:29 +01:00
34 lines
825 B
Markdown
34 lines
825 B
Markdown
dockerfiles/stack-build
|
|
=======================
|
|
|
|
Build [fpco/stack-build](https://hub.docker.com/r/fpco/stack-build/) Docker
|
|
images. This script and its Dockerfiles are used for building images for LTS >=
|
|
8.0.
|
|
|
|
Usage
|
|
-----
|
|
|
|
./build.sh [--push] [--dry-run] [--small] lts-X.Y"
|
|
|
|
Options
|
|
-------
|
|
|
|
`--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
|
|
|
|
Argument
|
|
---------
|
|
|
|
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.
|