Skip to content

Commit

Permalink
Merge pull request #81 from parkr/parkr-patch-1
Browse files Browse the repository at this point in the history
go 1.22.5 and move to debian bookworm
  • Loading branch information
parkr authored Jul 4, 2024
2 parents f2559e3 + 2db87c2 commit cb56511
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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/
Expand Down

0 comments on commit cb56511

Please sign in to comment.