Skip to content

Commit 2d5e955

Browse files
authored
Ghc 9.8 (#57)
* dev tools dockerfile. * Add a haskell-dev-tools image with GHC 9.8.2.
1 parent d884199 commit 2d5e955

3 files changed

Lines changed: 13 additions & 8 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
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

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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

src/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
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
55
RUN 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

1212
RUN 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

1818
LABEL 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
2323
COPY --from=builder-9.0 /root/.local/bin/hadolint /root/.local/bin/hadolint

0 commit comments

Comments
 (0)