diff --git a/Dockerfile b/Dockerfile index 39afa06f..61f97683 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 5072390d..d88aecbe 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -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 @@ -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/ diff --git a/rust-toolchain.toml b/rust-toolchain.toml index e4adfa74..93c0233e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.77.1" +channel = "1.79.0" components = ["clippy", "rustfmt"]