prometheus-dnssec-exporter/Dockerfile
Ask Bjørn Hansen 0ac0bdb1ab
All checks were successful
continuous-integration/drone/push Build is passing
Update go and alpine
2022-11-19 11:42:07 -08:00

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" ]