From 7af704215ddf328169e34be361aeaca02ca60284 Mon Sep 17 00:00:00 2001 From: Adrian Sieber Date: Thu, 14 Mar 2024 17:19:44 +0000 Subject: [PATCH] Docker: Use base image with correct GHC version --- Dockerfile | 5 +++-- stack.yaml | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 606cc15..5c13921 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ -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 \ diff --git a/stack.yaml b/stack.yaml index eab2826..d2fcade 100644 --- a/stack.yaml +++ b/stack.yaml @@ -1,3 +1,4 @@ +# ATTENTION: Also update the version in the Dockerfile resolver: lts-22.13 packages: - huzzy