File tree Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Expand file tree Collapse file tree 2 files changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,16 @@ ARG GHC_RELEASE_KEY=88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4
86
86
RUN set -eux; \
87
87
cd /tmp; \
88
88
ARCH="$(dpkg-architecture --query DEB_BUILD_GNU_CPU)" ; \
89
- GHC_URL="https://downloads.haskell.org/~ghc/$GHC/ghc-$GHC-$ARCH-deb11-linux.tar.xz" ; \
89
+ # Note: the 'aarch64-deb11' (bullseye) variant of images doesn't exist in https://downloads.haskell.org/~ghc/9.6.6/
90
+ # But deb10 (buster) images should be binary compatible with deb11, so using deb10 instead
91
+ GHC_URL="https://downloads.haskell.org/~ghc/$GHC/ghc-$GHC-$ARCH-deb10-linux.tar.xz" ; \
90
92
# sha256 from https://downloads.haskell.org/~ghc/$GHC/SHA256SUMS
91
93
case "$ARCH" in \
92
- # TODO 'aarch64' not available in https://downloads.haskell.org/~ghc/9.6.6/
93
- # 'aarch64') \
94
- # GHC_SHA256='58d5ce65758ec5179b448e4e1a2f835924b4ada96cf56af80d011bed87d91fef'; \
95
- # ;; \
94
+ 'aarch64' ) \
95
+ GHC_SHA256='58d5ce65758ec5179b448e4e1a2f835924b4ada96cf56af80d011bed87d91fef' ; \
96
+ ;; \
96
97
'x86_64' ) \
97
- GHC_SHA256='a34bdfc1f65b000135d9c8eb12d69670026a64043a8b33ef5ba24b0f8e28d046 ' ; \
98
+ GHC_SHA256='15ee68cede5d114a672fb468b9545700edd70a68724ab4e9122c8a23aba8570b ' ; \
98
99
;; \
99
100
*) echo >&2 "error: unsupported architecture '$ARCH'" ; exit 1 ;; \
100
101
esac; \
Original file line number Diff line number Diff line change @@ -100,15 +100,16 @@ ARG GHC_RELEASE_KEY=88B57FCF7DB53B4DB3BFA4B1588764FBE22D19C4
100
100
RUN set -eux; \
101
101
cd /tmp; \
102
102
ARCH="$(dpkg-architecture --query DEB_BUILD_GNU_CPU)" ; \
103
- GHC_URL="https://downloads.haskell.org/~ghc/$GHC/ghc-$GHC-$ARCH-deb11-linux.tar.xz" ; \
103
+ # Note: the 'aarch64-deb11' (bullseye) variant of images doesn't exist in https://downloads.haskell.org/~ghc/9.6.6/
104
+ # But deb10 (buster) images should be binary compatible with deb11, so using deb10 instead
105
+ GHC_URL="https://downloads.haskell.org/~ghc/$GHC/ghc-$GHC-$ARCH-deb10-linux.tar.xz" ; \
104
106
# sha256 from https://downloads.haskell.org/~ghc/$GHC/SHA256SUMS
105
107
case "$ARCH" in \
106
- # TODO 'aarch64' not available in https://downloads.haskell.org/~ghc/9.6.6/
107
- # 'aarch64') \
108
- # GHC_SHA256='58d5ce65758ec5179b448e4e1a2f835924b4ada96cf56af80d011bed87d91fef'; \
109
- # ;; \
108
+ 'aarch64' ) \
109
+ GHC_SHA256='58d5ce65758ec5179b448e4e1a2f835924b4ada96cf56af80d011bed87d91fef' ; \
110
+ ;; \
110
111
'x86_64' ) \
111
- GHC_SHA256='a34bdfc1f65b000135d9c8eb12d69670026a64043a8b33ef5ba24b0f8e28d046 ' ; \
112
+ GHC_SHA256='15ee68cede5d114a672fb468b9545700edd70a68724ab4e9122c8a23aba8570b ' ; \
112
113
;; \
113
114
*) echo >&2 "error: unsupported architecture '$ARCH'" ; exit 1 ;; \
114
115
esac; \
You can’t perform that action at this time.
0 commit comments