mirror of
https://github.com/TwiN/gatus.git
synced 2024-12-14 11:58:04 +00:00
build: Remove -mod vendor flag from Dockerfile
This commit is contained in:
parent
c7f80f1301
commit
cdbf5902c7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue