diff options
Diffstat (limited to 'third_party/rust/libc/ci/docker/i686-unknown-linux-musl')
-rw-r--r-- | third_party/rust/libc/ci/docker/i686-unknown-linux-musl/Dockerfile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/rust/libc/ci/docker/i686-unknown-linux-musl/Dockerfile b/third_party/rust/libc/ci/docker/i686-unknown-linux-musl/Dockerfile new file mode 100644 index 000000000..89d60ff7b --- /dev/null +++ b/third_party/rust/libc/ci/docker/i686-unknown-linux-musl/Dockerfile @@ -0,0 +1,13 @@ +FROM ubuntu:16.04 + +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.14.tar.gz | \ + tar xzf - && \ + cd musl-1.1.14 && \ + CFLAGS=-m32 ./configure --prefix=/musl-i686 --disable-shared --target=i686 && \ + make install -j4 && \ + cd .. && \ + rm -rf musl-1.1.14 +ENV PATH=$PATH:/musl-i686/bin:/rust/bin |