forked from EvergreenCrypto/docker-finance
Merge pull request #216 into master
f28a148client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1 (Aaron Fiore)6c1b7a0client: Dockerfiles: remote: hledger-suite: bump hledger-iadd to v1.3.22 (Aaron Fiore)4c0474eclient: Dockerfiles: remote: hledger-suite: bump hledger-flow to v0.16.0 (Aaron Fiore)cc0ec7aclient: Dockerfiles: remote: hledger-suite: use hledger-flow master tip (Aaron Fiore)a7289bdclient: Dockerfiles: remote: hledger-suite: bump hledger to 1.50 (Aaron Fiore)
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
FROM haskell:latest
|
||||
FROM haskell:9.12.2
|
||||
|
||||
RUN apt-get update -y
|
||||
RUN apt-get upgrade -y
|
||||
@@ -25,33 +25,38 @@ RUN apt-get upgrade -y
|
||||
#
|
||||
|
||||
WORKDIR /usr/local/src
|
||||
RUN git clone --depth=1 https://github.com/apauley/hledger-flow -b v0.15.0
|
||||
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
|
||||
#
|
||||
|
||||
WORKDIR /usr/local/src
|
||||
RUN git clone --depth=1 https://github.com/hpdeifel/hledger-iadd -b v1.3.21
|
||||
RUN git clone --depth=1 https://github.com/hpdeifel/hledger-iadd -b v1.3.22
|
||||
|
||||
WORKDIR /usr/local/src/hledger-iadd
|
||||
RUN sed -i 's/^ - hledger-lib-1\.32\.2/ - hledger-lib-1\.33\.1@sha256\:3920c9b273ecae8be59628b6f6f93fd1b4f3cee03a89fda23b0c4b183d0577f2\,7844/g' stack.yaml
|
||||
RUN stack setup
|
||||
RUN stack install --resolver="lts-22.20" --install-ghc --local-bin-path=/usr/local/bin hledger-iadd
|
||||
RUN cabal update
|
||||
RUN cabal v1-install --only-dependencies
|
||||
RUN cabal v1-configure --bindir /usr/local/bin
|
||||
RUN cabal v1-build
|
||||
RUN cabal v1-copy
|
||||
|
||||
#
|
||||
# hledger / hledger-ui / hledger-web
|
||||
#
|
||||
|
||||
WORKDIR /usr/local/src
|
||||
RUN git clone --depth=1 https://github.com/simonmichael/hledger -b 1.43.2
|
||||
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="nightly-2025-05-01" --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
|
||||
|
||||
Reference in New Issue
Block a user