forked from EvergreenCrypto/docker-finance
client: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0
Also update build process for a successful build and better caching.
This commit is contained in:
@@ -25,14 +25,13 @@ RUN apt-get upgrade -y
|
|||||||
#
|
#
|
||||||
|
|
||||||
WORKDIR /usr/local/src
|
WORKDIR /usr/local/src
|
||||||
|
RUN git clone --depth=1 https://github.com/apauley/hledger-flow -b v0.16.0
|
||||||
# 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
|
|
||||||
|
|
||||||
WORKDIR /usr/local/src/hledger-flow
|
WORKDIR /usr/local/src/hledger-flow
|
||||||
RUN stack setup
|
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
|
# hledger-iadd
|
||||||
|
|||||||
Reference in New Issue
Block a user