Skip to content

Commit 26e1c5e

Browse files
authored
Merge pull request #6133 from commercialhaskell/docker
Try to fix locale in ARM64 Docker file
2 parents b9afa53 + 1c488da commit 26e1c5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

etc/dockerfiles/arm64.Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
1010
libncurses-dev libncurses5 libtinfo5 libnuma-dev xz-utils g++ gcc \
1111
libc6-dev libffi-dev libgmp-dev make zlib1g-dev git gnupg netbase pkg-config
1212

13+
# This is added in an attempt to avoid the failure:
14+
# <stderr>: commitAndReleaseBuffer: invalid argument (invalid character)
15+
ENV LANG="C.UTF-8"
16+
1317
RUN cd /tmp && \
1418
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 && \
1519
unxz /tmp/llvm.tar.xz && \

0 commit comments

Comments
 (0)