Try to exchange deprecated command.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
FROM golang:alpine AS build
|
||||
MAINTAINER chris
|
||||
RUN apk add git --no-cache && \
|
||||
go install -g github.com/mdlayher/apcupsd_exporter
|
||||
go install -x github.com/mdlayher/apcupsd_exporter@latest
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user