Try to exchange deprecated command.
This commit is contained in:
@@ -2,7 +2,7 @@ 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 get -u github.com/mdlayher/apcupsd_exporter && \
|
||||||
go get -t -v ./...
|
go install ./...
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user