1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-15 17:51:09 +00:00

build: Remove -mod vendor flag from Dockerfile

This commit is contained in:
TwiN 2022-11-15 21:58:24 -05:00
parent c7f80f1301
commit cdbf5902c7

View file

@ -3,7 +3,7 @@ FROM golang:alpine as builder
RUN apk --update add ca-certificates RUN apk --update add ca-certificates
WORKDIR /app WORKDIR /app
COPY . ./ 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 Tests inside docker image if you don't have a configured go environment
#RUN apk update && apk add --virtual build-dependencies build-base gcc #RUN apk update && apk add --virtual build-dependencies build-base gcc