summaryrefslogtreecommitdiff
path: root/ci/docker/x86_64-unknown-linux-musl/Dockerfile
blob: 04950076400046673385b3769832366e44e2dd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
FROM ubuntu:22.04

RUN apt-get update
RUN apt-get install -y --no-install-recommends \
  gcc make libc6-dev git curl ca-certificates

COPY install-musl.sh /
RUN sh /install-musl.sh x86_64

ENV PATH=$PATH:/musl-x86_64/bin:/rust/bin \
    RUSTFLAGS="-L /musl-x86_64/lib"