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 FROM golang:alpine AS build
MAINTAINER chris MAINTAINER chris
RUN apk add git --no-cache && \ RUN apk add git --no-cache && \
go get -u github.com/mdlayher/apcupsd_exporter && \ go install github.com/mdlayher/apcupsd_exporter@latest
go install ./...
FROM alpine:latest FROM alpine:latest