mirror of
https://github.com/commercialhaskell/stackage.git
synced 2026-01-11 23:08:30 +01:00
32 lines
807 B
Markdown
32 lines
807 B
Markdown
dockerfiles/stack-build
|
|
=======================
|
|
|
|
Build [ghcr.io/commercialhaskell/stackage/build](https://github.com/commercialhaskell/stackage/pkgs/container/stackage%2Fbuild) Docker images.
|
|
|
|
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.
|