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 Oct 22, 2021
1 parent 0000000 commit fc33efd
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.54-slim-buster as planner
FROM lukemathwalker/cargo-chef:0.1.31-rust-1.56-slim-buster as planner
WORKDIR app
COPY . .
RUN cargo chef prepare --recipe-path recipe.json

FROM lukemathwalker/cargo-chef:0.1.31-rust-1.54-slim-buster as cacher
FROM lukemathwalker/cargo-chef:0.1.31-rust-1.56-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.54-slim-buster as builder
FROM rust:1.56-slim-buster as builder
WORKDIR app
RUN apt-get update && \
apt-get install -y --no-install-recommends \
Expand Down

0 comments on commit fc33efd

Please sign in to comment.