Skip to content

Commit

Permalink
chore: upgrade to rust 1.79.0 (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
ngutech21 authored Jul 15, 2024
1 parent a604ae7 commit 42d27c2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build backend
FROM rust:1.77.1-slim-bullseye as rust-builder
FROM rust:1.79.0-slim-bullseye as rust-builder
RUN apt update && apt install -y make clang pkg-config protobuf-compiler

WORKDIR /rust-app
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# build backend
FROM rust:1.77.1-slim-bullseye as rust-builder
FROM rust:1.79.0-slim-bullseye as rust-builder
RUN apt update && apt install -y musl-tools musl-dev make clang pkg-config protobuf-compiler
RUN update-ca-certificates
RUN rustup target add x86_64-unknown-linux-musl
Expand All @@ -10,7 +10,7 @@ COPY . /rust-app
RUN cargo build --package moksha-mint --release --target x86_64-unknown-linux-musl


FROM alpine:3.19.1
FROM alpine:3.20.1
RUN apk --no-cache add ca-certificates
COPY --from=rust-builder /rust-app/target/x86_64-unknown-linux-musl/release/moksha-mint /app/

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.77.1"
channel = "1.79.0"
components = ["clippy", "rustfmt"]

0 comments on commit 42d27c2

Please sign in to comment.