From e29d3c31c5d1067d5ef2c5ab1b911537894fda50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20H=C3=BCgel?= Date: Fri, 24 Apr 2026 18:52:08 +0100 Subject: [PATCH] Switch to rust:*-slim-bullseye as base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Drops the base image size from 1.33 GB to 754 MB uncompressed, and the final libproj-builder image from 2.00 GB to 1.57 GB uncompressed (~21% reduction). Dependent image size reduction: geo-ci: from ~1.58 GB --> 1.15 GB proj-ci: from ~2.02 GB --> 1.59 GB proj-ci-without-system-proj: from ~2.00 GB --> 1.57 GB Signed-off-by: Stephan Hügel --- dockerfiles/geo-ci | 2 +- dockerfiles/libproj-builder | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dockerfiles/geo-ci b/dockerfiles/geo-ci index 9c78610..18d5df8 100644 --- a/dockerfiles/geo-ci +++ b/dockerfiles/geo-ci @@ -8,7 +8,7 @@ ARG RUST_VERSION ARG PROJ_VERSION FROM ghcr.io/georust/libproj-builder:proj-${PROJ_VERSION}-rust-${RUST_VERSION} as libproj-builder -FROM rust:$RUST_VERSION-bullseye +FROM rust:$RUST_VERSION-slim-bullseye ARG RUST_VERSION ARG PROJ_VERSION diff --git a/dockerfiles/libproj-builder b/dockerfiles/libproj-builder index cb34275..d98a741 100644 --- a/dockerfiles/libproj-builder +++ b/dockerfiles/libproj-builder @@ -3,7 +3,7 @@ # Builds libproj from source ARG RUST_VERSION -FROM rust:$RUST_VERSION-bullseye +FROM rust:$RUST_VERSION-slim-bullseye ARG RUST_VERSION ARG PROJ_VERSION