From 4c0474ea9feab98837a9e8d57f64506183027c0c Mon Sep 17 00:00:00 2001 From: Aaron Fiore Date: Thu, 18 Sep 2025 15:30:19 -0700 Subject: [PATCH] client: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0 Also update build process for a successful build and better caching. --- client/Dockerfiles/remote/hledger-suite/Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/client/Dockerfiles/remote/hledger-suite/Dockerfile b/client/Dockerfiles/remote/hledger-suite/Dockerfile index bf298bb..63ce5bc 100644 --- a/client/Dockerfiles/remote/hledger-suite/Dockerfile +++ b/client/Dockerfiles/remote/hledger-suite/Dockerfile @@ -25,14 +25,13 @@ RUN apt-get upgrade -y # WORKDIR /usr/local/src - -# NOTE: haskell:latest currently doesn't provide git 2.49.0+ for `git clone --revision` -RUN git clone https://github.com/apauley/hledger-flow -RUN git -C hledger-flow checkout 0bcf667b24b030e30acee350c05dd69ba5ec20b5 +RUN git clone --depth=1 https://github.com/apauley/hledger-flow -b v0.16.0 WORKDIR /usr/local/src/hledger-flow RUN stack setup -RUN stack install --install-ghc --local-bin-path=/usr/local/bin +RUN stack install --install-ghc +RUN stack install --dependencies-only +RUN stack install --local-bin-path=/usr/local/bin # # hledger-iadd