File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
FROM ubuntu:20.04
2
2
3
- ARG TARGET=x86_64-unknown-linux-musl
4
- ARG RUST_MUSL_MAKE_VER=0.9.9
5
- ARG RUST_MUSL_MAKE_CONFIG=config.mak
6
-
7
3
ENV DEBIAN_FRONTEND=noninteractive
8
- ENV RUST_MUSL_CROSS_TARGET=$TARGET
9
4
10
5
# Make sure we have basic dev tools for building C libraries. Our goal
11
6
# here is to support the musl-libc builds and Cargo builds needed for a
@@ -36,6 +31,11 @@ RUN apt-get update && \
36
31
COPY lets-encrypt-r3-cross-signed.crt /usr/local/share/ca-certificates
37
32
RUN update-ca-certificates
38
33
34
+ ARG TARGET=x86_64-unknown-linux-musl
35
+ ENV RUST_MUSL_CROSS_TARGET=$TARGET
36
+ ARG RUST_MUSL_MAKE_VER=0.9.9
37
+ ARG RUST_MUSL_MAKE_CONFIG=config.mak
38
+
39
39
COPY $RUST_MUSL_MAKE_CONFIG /tmp/config.mak
40
40
RUN cd /tmp && curl -Lsq -o musl-cross-make.zip https://github.com/richfelker/musl-cross-make/archive/v$RUST_MUSL_MAKE_VER.zip && \
41
41
unzip -q musl-cross-make.zip && \
You can’t perform that action at this time.
0 commit comments