Skip to content

Commit

Permalink
Update Dockerfile and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
psibi committed Jun 19, 2023
1 parent 3ea1d59 commit 889351e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN apk upgrade --no-cache &&\
lld \
shadow # for stack --docker, provides groupadd

RUN curl -sSLo /usr/local/bin/stack https://github.com/commercialhaskell/stack/releases/download/v2.9.3/stack-2.9.3-linux-x86_64-bin && \
RUN curl -sSLo /usr/local/bin/stack https://github.com/commercialhaskell/stack/releases/download/v2.11.1/stack-2.11.1-linux-x86_64-bin && \
chmod +x /usr/local/bin/stack

# https://stackoverflow.com/a/41517423
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ these things:
- Optionally, you can update the SHA of the base alpine image in the
ghc-musl.nix file. It's optional, but good to have latest stable
alpine image as the base image.
- Update the [justfile](./justfile) with the new GHC tag.
- Update the stack version in the [Dockerfile](./Dockerfile).
- Create a PR to this repository. Once it's merged, create a tag and
it will push the image to ghcr.io

For upgrading the base alpine images, these are the steps:

Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
GHC_VERSION := "9.2.7"
GHC_VERSION := `git describe --abbrev=0`

# List all recipies
default:
Expand Down

0 comments on commit 889351e

Please sign in to comment.