Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 5d946ca

Browse files
authored
feat: add musl libc and its tools to build image (#814)
1 parent e7668f7 commit 5d946ca

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
147147
libvips-tools \
148148
libyaml-dev \
149149
mercurial \
150+
# musl and musl-tools are needed for certain rust dependencies (ring) to compile correctly
151+
# see https://github.com/netlify/pillar-runtime/issues/401
152+
musl \
153+
musl-tools \
150154
nasm \
151155
openjdk-8-jdk \
152156
optipng \

focal.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,3 +150,9 @@ commandTests:
150150
args: ["--version"]
151151
expectedOutput:
152152
- rustup 1\.\d+\.\d+
153+
154+
- name: "Musl library and its tools are available"
155+
command: "musl-gcc"
156+
args: ["--version"]
157+
expectedOutput:
158+
- Ubuntu 9\.4\.\d+ # version of gcc, as musl-gcc is just a wrapper

0 commit comments

Comments
 (0)