Skip to content

Commit 65db65e

Browse files
authored
revert: fix(client): Use libcap to fix icmp (#1127)
This reverts #1056 Fixes #1126
1 parent 0a9f5d8 commit 65db65e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Build the go application into a binary
22
FROM golang:alpine AS builder
3-
RUN apk --update add ca-certificates libcap-setcap
3+
RUN apk --update add ca-certificates
44
WORKDIR /app
55
COPY . ./
66
RUN go mod tidy
77
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gatus .
8-
RUN setcap CAP_NET_RAW+ep gatus
98

109
# Run Tests inside docker image if you don't have a configured go environment
1110
#RUN apk update && apk add --virtual build-dependencies build-base gcc

0 commit comments

Comments
 (0)