Skip to content

Commit 3e0b756

Browse files
committed
Fix #5871 For AArch64, use Debian 10 rather than Ubuntu 20.04
1 parent bb62917 commit 3e0b756

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

etc/dockerfiles/arm64.Dockerfile

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
FROM ubuntu:20.04
1+
# Stack is built with GHC 9.2.4. GHC 9.2.4 for Linux/AArch64 says it was made on
2+
# a Debian 10 system and requires GMP 6.1. Debian 10 is codename 'buster' and
3+
# includes libc6 (2.28-10+deb10u1).
4+
FROM debian:buster
25

36
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
4-
curl build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 libncurses-dev libncurses5 libtinfo5 libnuma-dev xz-utils \
5-
g++ gcc libc6-dev libffi-dev libgmp-dev make zlib1g-dev git gnupg netbase
7+
curl build-essential curl libffi-dev libffi7 libgmp-dev libgmp10 \
8+
libncurses-dev libncurses5 libtinfo5 libnuma-dev xz-utils g++ gcc \
9+
libc6-dev libffi-dev libgmp-dev make zlib1g-dev git gnupg netbase
610

711
RUN cd /tmp && \
812
curl -L https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/clang+llvm-9.0.1-aarch64-linux-gnu.tar.xz --output /tmp/llvm.tar.xz && \

0 commit comments

Comments
 (0)