fix: Use the rust nightly toolchain
This commit is contained in:
parent
3f6e88809e
commit
f4dd33d6df
@ -2,7 +2,8 @@ FROM rust:1.66.1-alpine3.17 as builder
|
|||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
RUN apk update && apk add --no-cache gcc musl-dev
|
RUN apk update && apk add --no-cache gcc musl-dev
|
||||||
COPY ./ .
|
COPY ./ .
|
||||||
RUN cargo build --release --jobs 2
|
RUN rustup default nightly && rustup update
|
||||||
|
RUN cargo build --release --jobs 2 -Z sparse-registry
|
||||||
|
|
||||||
FROM alpine:3.17.1
|
FROM alpine:3.17.1
|
||||||
COPY --from=builder /src/target/release/cdh /bin/cdh
|
COPY --from=builder /src/target/release/cdh /bin/cdh
|
||||||
|
Reference in New Issue
Block a user