From 3ba808e99064345ab499d2a05d3635a9c07f231f Mon Sep 17 00:00:00 2001 From: Omer Zuarets Date: Wed, 8 Oct 2025 13:42:39 +0300 Subject: [PATCH 1/2] Update Dockerfile to use Rust 1.89 and Debian Bookworm, add security updates --- Dockerfile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 91b5da5..52af7ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.77-bullseye as build +FROM rust:1.89-bookworm as build WORKDIR /agent ARG CARGO_FLAGS="--release" @@ -11,7 +11,13 @@ COPY Cargo.lock Cargo.lock # see https://blog.rust-lang.org/inside-rust/2023/01/30/cargo-sparse-protocol.html RUN CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse cargo build ${CARGO_FLAGS} -FROM debian:bullseye-slim as agent +FROM debian:bookworm-slim as agent + +# Update package lists and install security updates +RUN apt-get update && \ + apt-get upgrade -y && \ + apt-get clean && \ + rm -rf /var/lib/apt/lists/* WORKDIR /agent From 87f214769c0b435487540f0db67559cda5a8be5e Mon Sep 17 00:00:00 2001 From: Omer Zuarets Date: Wed, 8 Oct 2025 14:40:18 +0300 Subject: [PATCH 2/2] change rust version to 1.90 in the Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 52af7ad..501366d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.89-bookworm as build +FROM rust:1.90-bookworm as build WORKDIR /agent ARG CARGO_FLAGS="--release"