mirror of
https://blitiri.com.ar/repos/chasquid
synced 2026-02-03 21:55:57 +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:
@@ -15,7 +15,10 @@ RUN go get -d ./... && \
|
||||
go install ./...
|
||||
|
||||
# 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.
|
||||
# Install the packages we need.
|
||||
|
||||
Reference in New Issue
Block a user