From f28a148f5c31b5376590eecbb00e8585a4d92d34 Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Thu, 18 Sep 2025 15:35:19 -0700 Subject: [PATCH] client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1 Also update build process for a successful build and better caching. --- client/Dockerfiles/remote/hledger-suite/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client/Dockerfiles/remote/hledger-suite/Dockerfile b/client/Dockerfiles/remote/hledger-suite/Dockerfile index 7b72860..204bd28 100644 --- a/client/Dockerfiles/remote/hledger-suite/Dockerfile +++ b/client/Dockerfiles/remote/hledger-suite/Dockerfile @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -FROM haskell:latest +FROM haskell:9.12.2 RUN apt-get update -y RUN apt-get upgrade -y @@ -52,10 +52,11 @@ RUN cabal v1-copy # WORKDIR /usr/local/src -RUN git clone --depth=1 https://github.com/simonmichael/hledger -b 1.50 +RUN git clone --depth=1 https://github.com/simonmichael/hledger -b 1.50.1 WORKDIR /usr/local/src/hledger RUN stack setup -RUN stack install --resolver="lts-24.8" --install-ghc --local-bin-path=/usr/local/bin +RUN stack install --stack-yaml=stack912.yaml --dependencies-only +RUN stack install --stack-yaml=stack912.yaml --local-bin-path=/usr/local/bin # vim: sw=2 sts=2 si ai et