Try to exchange deprecated command.

This commit is contained in:
2022-07-06 13:28:46 +02:00
parent 67b6796c3b
commit 9aa1945099

View File

@@ -1,7 +1,7 @@
FROM golang:alpine AS build
MAINTAINER chris
RUN apk add git --no-cache && \
go install -x github.com/mdlayher/apcupsd_exporter@latest
go build -x github.com/mdlayher/apcupsd_exporter@latest -o /go/bin/apcupsd_exporter
FROM alpine:latest