From 67b6796c3b9013bea059acd39c7bc469fc1892fc Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Wed, 6 Jul 2022 13:25:59 +0200 Subject: [PATCH] Try to exchange deprecated command. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e66280e..4b05449 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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