1
0
mirror of https://blitiri.com.ar/repos/chasquid synced 2026-02-02 21:45:55 +00:00

docker: Use a specific Debian version

When Debian releases a new stable version, there could be breaking
changes that mean Docker build stops working.

New Debian stable versions are infrequent enough that it is better to
just do them by hand, to avoid accidentally breaking builds (and
subsequently having to fix them in a rush).

Thanks to Ernesto Alfonso (erjoalgo@github) for reporting this problem
in https://github.com/albertito/chasquid/issues/80.
This commit is contained in:
Alberto Bertogli
2026-02-01 10:48:52 +00:00
parent d9f53411b5
commit 45071cba6f

View File

@@ -15,7 +15,10 @@ RUN go get -d ./... && \
go install ./... go install ./...
# Create the image. # Create the image.
FROM debian:stable-slim # Use a specific Debian stable version, because the move between
# different stable version may introduce some breaking changes, so we want to
# do them in a controlled way.
FROM debian:13-slim
# Create the chasquid and dovecot users with fixed UID/GID. # Create the chasquid and dovecot users with fixed UID/GID.
# Install the packages we need. # Install the packages we need.