File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 - name : Build and push image
3838 uses : docker/build-push-action@v2
3939 with :
40- tags : ' ghcr.io/fossas/haskell-dev-tools:9.4.8 '
40+ tags : ' ghcr.io/fossas/haskell-dev-tools:9.8.2 '
4141 push : true
4242 context : ./src
4343 cache-from : type=local,src=/tmp/.buildx-cache
Original file line number Diff line number Diff line change @@ -37,6 +37,11 @@ fossas/fossa-cli repo.
3737
3838## Changelog
3939
40+ ### GHC 9.8.2
41+
42+ - GHC is now version 9.8.2
43+ - cabal-install is now 3.10.3.0
44+
4045### GHC 9.4.8
4146
4247- GHC is now version 9.4.8
Original file line number Diff line number Diff line change 11# Build all tools except hadolint.
2- FROM fossa/haskell-static-alpine:ghc-9.4.8 as builder-9.4
2+ FROM fossa/haskell-static-alpine:ghc-9.8.2 AS builder-9.8
33
44# By installing these separately, we prevent the dependecies of one package from conflicting with the others
55RUN cabal update && \
66 cabal install --install-method=copy hlint-3.8 && \
77 cabal install --install-method=copy fourmolu-0.15.0.0 && \
8- cabal install --install-method=copy cabal-fmt-0.1.11
8+ cabal install --install-method=copy cabal-fmt-0.1.12
99
10- FROM fossa/haskell-static-alpine:ghc-9.0.2 as builder-9.0
10+ FROM fossa/haskell-static-alpine:ghc-9.0.2 AS builder-9.0
1111
1212RUN cabal update && \
1313 cabal install --install-method=copy hadolint-2.12.0
1414
1515# Copy the built binaries into a smaller image.
16- FROM fossa/haskell-static-alpine:ghc-9.4.8 as final
16+ FROM fossa/haskell-static-alpine:ghc-9.8.2 AS final
1717
1818LABEL org.opencontainers.image.source = "https://github.com/fossas/haskell-dev-tools"
1919
20- COPY --from=builder-9.4 /root/.local/bin/hlint /root/.cabal/bin/hlint
21- COPY --from=builder-9.4 /root/.local/bin/fourmolu /root/.cabal/bin/fourmolu
22- COPY --from=builder-9.4 /root/.local/bin/cabal-fmt /root/.cabal/bin/cabal-fmt
20+ COPY --from=builder-9.8 /root/.local/bin/hlint /root/.cabal/bin/hlint
21+ COPY --from=builder-9.8 /root/.local/bin/fourmolu /root/.cabal/bin/fourmolu
22+ COPY --from=builder-9.8 /root/.local/bin/cabal-fmt /root/.cabal/bin/cabal-fmt
2323COPY --from=builder-9.0 /root/.local/bin/hadolint /root/.local/bin/hadolint
You can’t perform that action at this time.
0 commit comments