File tree Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Expand file tree Collapse file tree 3 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 20
20
- ghc-9.0.2
21
21
- ghc-9.4.7
22
22
- ghc-9.4.8
23
+ - ghc-9.8.2
23
24
24
25
steps :
25
26
- uses : actions/checkout@v2
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ Supported versions are:
32
32
- ` ghc-8.10.7 `
33
33
- ` ghc-9.0.2 `
34
34
- ` ghc-9.4.7 `
35
+ - ` ghc-9.4.8 `
36
+ - ` ghc-9.8.2 `
35
37
36
38
### Building your executable
37
39
@@ -47,4 +49,4 @@ This will build a statically linked Haskell binary. Make sure to `strip` the bin
47
49
48
50
49
51
## 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 )
Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments