From b0629773e59ab76d78b87dcd077ff8d1d250dd43 Mon Sep 17 00:00:00 2001 From: PythonGermany <97847597+PythonGermany@users.noreply.github.com> Date: Sat, 6 Dec 2025 23:48:39 +0100 Subject: [PATCH] build(docker): Non tidy go mods fail image build (#1418) fix(docker): Non tidy go mods fail image build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8e55ef6b..76b80012 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:alpine AS builder RUN apk --update add ca-certificates WORKDIR /app COPY . ./ -RUN go mod tidy +RUN go mod tidy -diff RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus . # Run Tests inside docker image if you don't have a configured go environment