fix(adguard-exporter): create empty GeoLite2 placeholder to skip geo metrics
All checks were successful
Build and push adguard-exporter image / build-and-push-image (push) Successful in 3m54s
All checks were successful
Build and push adguard-exporter image / build-and-push-image (push) Successful in 3m54s
This commit is contained in:
parent
0afa3eb181
commit
e1d798c432
@ -14,6 +14,9 @@ ARG TARGETARCH
|
|||||||
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
|
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH \
|
||||||
go build -ldflags="-s -w" -o adguard-exporter .
|
go build -ldflags="-s -w" -o adguard-exporter .
|
||||||
|
|
||||||
|
# Create empty GeoLite2 placeholder (geo metrics disabled without real DB)
|
||||||
|
RUN touch /app/GeoLite2-City.mmdb
|
||||||
|
|
||||||
FROM alpine:3.24 AS certs
|
FROM alpine:3.24 AS certs
|
||||||
RUN apk add --no-cache ca-certificates
|
RUN apk add --no-cache ca-certificates
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user