mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-28 10:53:20 +01:00
build: Remove -mod vendor flag from Dockerfile
This commit is contained in:
parent
c7f80f1301
commit
cdbf5902c7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user