Update go and alpine
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Ask Bjørn Hansen 2022-11-19 11:42:07 -08:00
parent ad5eef7ef8
commit 0ac0bdb1ab

View File

@ -1,10 +1,10 @@
FROM golang:1.17-alpine AS build FROM golang:1.19.3-alpine AS build
WORKDIR /app WORKDIR /app
COPY . ./ COPY . ./
RUN go mod download RUN go mod download
RUN go build -o /bin/prometheus-dnssec-exporter RUN go build -o /bin/prometheus-dnssec-exporter
FROM alpine:3.14.2 FROM alpine:3.16.3
COPY --from=build /bin/prometheus-dnssec-exporter /bin/prometheus-dnssec-exporter COPY --from=build /bin/prometheus-dnssec-exporter /bin/prometheus-dnssec-exporter
ENTRYPOINT [ "/bin/prometheus-dnssec-exporter" ] ENTRYPOINT [ "/bin/prometheus-dnssec-exporter" ]