There was an error while loading. Please reload this page.
1 parent 0a9f5d8 commit 65db65eCopy full SHA for 65db65e
1 file changed
Dockerfile
@@ -1,11 +1,10 @@
1
# Build the go application into a binary
2
FROM golang:alpine AS builder
3
-RUN apk --update add ca-certificates libcap-setcap
+RUN apk --update add ca-certificates
4
WORKDIR /app
5
COPY . ./
6
RUN go mod tidy
7
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus .
8
-RUN setcap CAP_NET_RAW+ep gatus
9
10
# Run Tests inside docker image if you don't have a configured go environment
11
#RUN apk update && apk add --virtual build-dependencies build-base gcc
0 commit comments