Ask Bjørn Hansen
0ac0bdb1ab
All checks were successful
continuous-integration/drone/push Build is passing
11 lines
278 B
Docker
11 lines
278 B
Docker
FROM golang:1.19.3-alpine AS build
|
|
|
|
WORKDIR /app
|
|
COPY . ./
|
|
RUN go mod download
|
|
RUN go build -o /bin/prometheus-dnssec-exporter
|
|
|
|
FROM alpine:3.16.3
|
|
COPY --from=build /bin/prometheus-dnssec-exporter /bin/prometheus-dnssec-exporter
|
|
ENTRYPOINT [ "/bin/prometheus-dnssec-exporter" ]
|