build: install musl toolchains in the dockerfile

This commit is contained in:
Guy Shimko
2025-03-29 12:52:32 +03:00
parent 56eef2a483
commit 24491576ef
2 changed files with 48 additions and 0 deletions

View File

@ -30,4 +30,9 @@ RUN apt update && apt install -y \
wget \
xz-utils
# Install musl-based toolchains.
ENV MUSL_INSTALL_DIR="/opt/musl-cross"
COPY src/compilation/install_musl_toolchains.sh .
RUN ./install_musl_toolchains.sh
WORKDIR /app/gdb