Skip to content

Commit

Permalink
fix: Use the rust nightly toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
allanger authored and Nikolai Rodionov committed Mar 17, 2023
1 parent 3f6e888 commit f4dd33d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ FROM rust:1.66.1-alpine3.17 as builder
WORKDIR /src
RUN apk update && apk add --no-cache gcc musl-dev
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
COPY --from=builder /src/target/release/cdh /bin/cdh
Expand Down

0 comments on commit f4dd33d

Please sign in to comment.