Skip to content

Commit

Permalink
Upgrade docker to rust v1.82.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewmeyer committed Oct 18, 2024
1 parent a32dbc2 commit b48d78d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM rust:1.81.0-alpine AS base
FROM rust:1.82.0-alpine AS base
RUN apk add musl-dev musl-utils
RUN cargo install cargo-chef

Expand All @@ -8,7 +8,7 @@ RUN cargo chef prepare --recipe-path recipe.json

FROM chef AS builder
COPY --from=chef /recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
RUN cargo chef cook --target x86_64-unknown-linux-musl --release --bin ddrs --recipe-path recipe.json
COPY . .
RUN cargo build --target x86_64-unknown-linux-musl --release --bin ddrs

Expand Down

0 comments on commit b48d78d

Please sign in to comment.