Try to exchange deprecated command.

This commit is contained in:
2022-07-06 13:10:24 +02:00
parent 469841c854
commit 3980e95358

View File

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