Docker images¶
Docker Hub includes Docker images under `fpco/stack-build'.
To update those images with a new version of Stack:
-
Under commercialhaskell/stackage/automated/dockerfiles, add
lts-X.Y/Dockerfile
(whereX.Y
is the latest Stackage Haskell LTS version), containing (whereX.Z
is the previous Haskell LTS version, andX.Y.Z
is the newly released Stack version): -
Run
./build.sh lts-X.Y
. Then test that the new image has the new version of Stack. For example, command: -
Use the following commands to push the new image to the registry: