Try to exchange deprecated command.

This commit is contained in:
2022-07-06 13:19:00 +02:00
parent 3980e95358
commit 253eadfbd9

View File

@@ -1,7 +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 install github.com/mdlayher/apcupsd_exporter@latest go install -g github.com/mdlayher/apcupsd_exporter
FROM alpine:latest FROM alpine:latest