aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile
blob: 9c2499948a287aba5c00ad538ee7eb58917d3260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM ubuntu:16.10

RUN apt-get update
RUN apt-get install -y --no-install-recommends \
  gcc make libc6-dev git curl ca-certificates
RUN curl https://www.musl-libc.org/releases/musl-1.1.15.tar.gz | \
    tar xzf - && \
    cd musl-1.1.15 && \
    ./configure --prefix=/musl-x86_64 && \
    make install -j4 && \
    cd .. && \
    rm -rf musl-1.1.15
ENV PATH=$PATH:/musl-x86_64/bin:/rust/bin