Pin Debian version

This commit is contained in:
akp 2025-01-07 01:27:14 +00:00
parent 8b84715f58
commit 68eb8fa000
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -6,7 +6,7 @@ WORKDIR /build
RUN git clone --branch=release-2.5 https://github.com/arp242/goatcounter.git .
RUN go build -ldflags="-X zgo.at/goatcounter/v2.Version=$(git log -n1 --format='%h_%cI')" ./cmd/goatcounter
FROM debian
FROM debian:12
RUN mkdir -p /usr/bin
COPY --from=builder /build/goatcounter /usr/bin
@ -14,4 +14,4 @@ COPY --from=builder /build/goatcounter /usr/bin
RUN mkdir -p /run/goatcounter
WORKDIR /run/goatcounter
ENTRYPOINT ["goatcounter"]
ENTRYPOINT ["goatcounter"]