Skip to content

Commit

Permalink
Docker: Use base image with correct GHC version
Browse files Browse the repository at this point in the history
  • Loading branch information
ad-si committed Mar 14, 2024
1 parent 6e96dd8 commit 7af7042
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM haskell:9.2.8-slim-buster as builder
# ATTENTION: Also update the version of the final image
FROM haskell:9.6.4-slim-buster as builder

WORKDIR /tasklite

Expand Down Expand Up @@ -28,7 +29,7 @@ RUN stack install tasklite-core


# Same OS version as the builder image
FROM haskell:9.2.8-slim-buster
FROM haskell:9.6.4-slim-buster
RUN apt-get update && \
apt-get install -y libgmp10
COPY --from=builder \
Expand Down
1 change: 1 addition & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ATTENTION: Also update the version in the Dockerfile
resolver: lts-22.13
packages:
- huzzy
Expand Down

0 comments on commit 7af7042

Please sign in to comment.