build: get the proper toolchain ahead of time
This commit is contained in:
parent
61d699c236
commit
9fac65087a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
FROM rust:1-alpine as builder
|
FROM rust:1-alpine as builder
|
||||||
|
|
||||||
RUN rustup default stable
|
RUN rustup default stable-x86_64-unknown-linux-musl
|
||||||
RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static pkgconf git
|
RUN apk add --no-cache musl-dev openssl-dev openssl-libs-static pkgconf git
|
||||||
|
|
||||||
# Set `SYSROOT` to a dummy path (default is /usr) because pkg-config-rs *always*
|
# Set `SYSROOT` to a dummy path (default is /usr) because pkg-config-rs *always*
|
||||||
|
|
Reference in a new issue