forked from EvergreenCrypto/docker-finance
client: Dockerfiles: remote: hledger-suite: bump hledger to 1.50.1
Also update build process for a successful build and better caching.
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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user