Merge branch 'master' into next-major

This commit is contained in:
Ian Fijolek
2025-12-11 16:17:38 -08:00
10 changed files with 262 additions and 69 deletions
+4 -3
View File
@@ -1,4 +1,4 @@
FROM golang:1.21 AS builder
FROM golang:1.25 AS builder
WORKDIR /app
@@ -13,7 +13,7 @@ ARG VERSION=dev
ENV CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=${TARGETARCH}
RUN go build -ldflags "-X main.version=${VERSION}" -a -installsuffix nocgo -o minitor .
FROM alpine:3.18
FROM alpine:3.23
RUN mkdir /app
WORKDIR /app/
@@ -21,7 +21,8 @@ WORKDIR /app/
COPY --from=builder /app/minitor .
# Add common checking tools
RUN apk --no-cache add bash=~5 curl=~8 jq=~1 bind-tools=~9 tzdata~=2024a
# hadolint ignore=DL3018
RUN apk --no-cache add bash=~5 curl=~8 jq=~1 bind-tools=~9 tzdata
# Add minitor user for running as non-root
RUN addgroup -S minitor && adduser -S minitor -G minitor