From cdbf5902c710798be81c4e0ba9e19702eddb3099 Mon Sep 17 00:00:00 2001 From: TwiN Date: Tue, 15 Nov 2022 21:58:24 -0500 Subject: [PATCH] build: Remove -mod vendor flag from Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1fae4952..7b086346 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM golang:alpine as builder RUN apk --update add ca-certificates WORKDIR /app COPY . ./ -RUN CGO_ENABLED=0 GOOS=linux go build -mod vendor -a -installsuffix cgo -o gatus . +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 #RUN apk update && apk add --virtual build-dependencies build-base gcc