Add musl installation to Dockerfile (#826)

This commit is contained in:
Karol Wrótniak
2025-02-04 01:43:19 +01:00
committed by GitHub
parent 9b8738cdbb
commit 4727d35989

View File

@@ -90,7 +90,8 @@ RUN if [ "$TARGETARCH" = "arm64" ]; then \
--shell /usr/sbin/nologin \
stf && \
su stf -s /bin/bash -c '/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js install' && \
apt-get -y install --no-install-recommends libzmq3-dev libprotobuf-dev git graphicsmagick yasm && \
apt-get -y install --no-install-recommends musl-dev libzmq3-dev libprotobuf-dev git graphicsmagick yasm && \
ln -s /usr/lib/aarch64-linux-musl/libc.so /lib/libc.musl-aarch64.so.1 && \
echo '--- Building app' && \
mkdir -p /app && \
chown -R stf:stf /tmp/build && \