Skip to content

Commit bbf3bda

Browse files
authored
Add a release for GHC 9.8.2 (#18)
* Add a release for GHC 9.8.2 * Use the script from get-ghcup.haskell.org.
1 parent e45cedf commit bbf3bda

File tree

3 files changed

+30
-1
lines changed

3 files changed

+30
-1
lines changed

.github/workflows/build-docker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- ghc-9.0.2
2121
- ghc-9.4.7
2222
- ghc-9.4.8
23+
- ghc-9.8.2
2324

2425
steps:
2526
- uses: actions/checkout@v2

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Supported versions are:
3232
- `ghc-8.10.7`
3333
- `ghc-9.0.2`
3434
- `ghc-9.4.7`
35+
- `ghc-9.4.8`
36+
- `ghc-9.8.2`
3537

3638
### Building your executable
3739

@@ -47,4 +49,4 @@ This will build a statically linked Haskell binary. Make sure to `strip` the bin
4749

4850

4951
## License
50-
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ffossas%2Fhaskell-static-alpine.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Ffossas%2Fhaskell-static-alpine?ref=badge_large)
52+
[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2Ffossas%2Fhaskell-static-alpine.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2Ffossas%2Fhaskell-static-alpine?ref=badge_large)

ghc-9.8.2/Dockerfile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
FROM alpine:3.17
2+
# Install deps for:
3+
# - ghc/cabal: curl gcc g++ gmp-dev ncurses-dev libffi-dev make xz tar perl zlib-dev
4+
# - repo clone: git
5+
# - static builds: zlib-static HACK(broken-ghc-musl): ncurses-static
6+
# - random haskell libraries with cbits (basement): binutils-gold
7+
# - to use embedded binaries in development (ie themis): libc6-compat
8+
# - for nix installation via github action cachix/install-nix-action: sudo
9+
RUN apk --no-cache add binutils-gold curl gcc g++ git gmp-dev ncurses-dev ncurses-static libffi-dev make xz tar perl zlib-dev zlib-static bash sudo libc6-compat git-lfs
10+
11+
# Install system deps for FOSSA CLI:
12+
RUN apk --no-cache add bash xz-libs xz-dev bzip2-dev bzip2-static upx curl jq
13+
14+
ENV BOOTSTRAP_HASKELL_NONINTERACTIVE=1
15+
ENV BOOTSTRAP_HASKELL_MINIMAL=1
16+
ENV PATH="/root/.cabal/bin:/root/.ghcup/bin:$PATH"
17+
RUN curl --proto '=https' --tlsv1.2 -sSf https://get-ghcup.haskell.org | sh
18+
19+
RUN ghcup install ghc 9.8.2
20+
21+
RUN ghcup set ghc 9.8.2
22+
RUN ghcup install cabal 3.10.3.0
23+
24+
# Sets USER environment to overcome issue, as described in:
25+
# https://github.com/cachix/install-nix-action/issues/122
26+
ENV USER=guest

0 commit comments

Comments
 (0)