• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FROM ubuntu:22.04
2
3RUN dpkg --add-architecture i386
4RUN apt-get update
5RUN apt-get install -y --no-install-recommends \
6  gcc-multilib make libc6-dev git curl ca-certificates libc6-i386
7
8COPY install-musl.sh /
9RUN sh /install-musl.sh i686
10
11ENV PATH=$PATH:/musl-i686/bin:/rust/bin \
12    CC_i686_unknown_linux_musl=musl-gcc \
13    RUSTFLAGS="-L /musl-i686/lib"
14