git » chasquid » commit 84ed777

docker: Use debian:stable-slim as the base, to reduce size

author Guiorgy
2025-08-03 21:06:08 UTC
committer Alberto Bertogli
2025-08-07 22:19:18 UTC
parent cf18565b80995dcb35499b9c6b8450dfde120312

docker: Use debian:stable-slim as the base, to reduce size

Using the "slim" version of the debian:stable image helps reduce size,
while having no impact on runtime usability or performance. The main
differences are around locale and manpages.

Amended-by: Alberto Bertogli <albertito@blitiri.com.ar>
  Adjusted commit message.

docker/Dockerfile +1 -1

diff --git a/docker/Dockerfile b/docker/Dockerfile
index ef1ebd0..3b2d709 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -15,7 +15,7 @@ RUN go get -d ./... && \
 	go install ./...
 
 # Create the image.
-FROM debian:stable
+FROM debian:stable-slim
 
 # Install the packages we need.
 # This includes chasquid, which sets up good defaults.