aboutsummaryrefslogtreecommitdiff
path: root/libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile')
-rw-r--r--libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile b/libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile
new file mode 100644
index 0000000..9c24999
--- /dev/null
+++ b/libc/ci/docker/x86_64-unknown-linux-musl/Dockerfile
@@ -0,0 +1,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