From 2db87c2c3dcf86a10647eef82d72cdd834a6310e Mon Sep 17 00:00:00 2001 From: Parker Moore <237985+parkr@users.noreply.github.com> Date: Wed, 3 Jul 2024 19:59:31 -0700 Subject: [PATCH] go 1.22.5 and move to debian bookworm --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 942bcfd..ff3e849 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ -FROM golang:1.22.4-bullseye as builder +FROM golang:1.22.5-bookworm as builder WORKDIR /workspace EXPOSE 3306 COPY . . RUN go version RUN go install github.com/parkr/ping/... && ls -l /go/bin/ping && ls -l /go/bin/ping-healthcheck -FROM debian:bullseye-slim +FROM debian:bookworm-slim HEALTHCHECK --start-period=1s --interval=30s --timeout=5s --retries=1 \ CMD [ "/go/bin/ping-healthcheck" ] COPY --from=builder /go/bin/* /go/bin/