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