Skip to content

Commit 169ab89

Browse files
Update rust and cargo-chef
cargo-chef dependencies were not constrained enough and builds failed on older rust commit-id:7ece5d7a
1 parent 93f18f5 commit 169ab89

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV CARGO_HOME=/usr/local/cargo
1111
ENV PATH=/usr/local/cargo/bin:${PATH}
1212

1313
ARG RUSTUP_VERSION=1.25.1
14-
ARG RUST_VERSION=1.61.0
14+
ARG RUST_VERSION=1.66.0
1515
ARG RUST_ARCH=x86_64-unknown-linux-musl
1616

1717
# https://github.com/sfackler/rust-openssl/issues/1462
@@ -27,7 +27,7 @@ RUN /tmp/rustup-init \
2727

2828
FROM rust-base as dev-planner
2929

30-
RUN cargo install --version 0.1.35 cargo-chef
30+
RUN cargo install --version 0.1.51 cargo-chef
3131

3232
WORKDIR /usr/src/josh
3333
COPY . .
@@ -44,7 +44,7 @@ RUN apk add --no-cache \
4444

4545
WORKDIR /usr/src/josh
4646
RUN rustup component add rustfmt
47-
RUN cargo install --version 0.1.35 cargo-chef
47+
RUN cargo install --version 0.1.51 cargo-chef
4848
RUN cargo install --verbose --version 0.10.0 graphql_client_cli
4949

5050
RUN apk add --no-cache \

0 commit comments

Comments
 (0)