Skip to content

Commit

Permalink
chore(docker): bump the Rust version in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Feb 12, 2022
1 parent 0a3c56c commit d4cbb85
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM lukemathwalker/cargo-chef:0.1.31-rust-1.56-slim-buster as planner
FROM lukemathwalker/cargo-chef:0.1.33-rust-1.58-slim-buster as planner
WORKDIR app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM lukemathwalker/cargo-chef:0.1.31-rust-1.56-slim-buster as cacher
FROM lukemathwalker/cargo-chef:0.1.33-rust-1.58-slim-buster as cacher
WORKDIR app
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json

FROM rust:1.56-slim-buster as builder
FROM rust:1.58-slim-buster as builder
WORKDIR app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit d4cbb85

Please sign in to comment.