From 9aa1945099824e9fb0bab0f1ddd6d7b61b2972cf Mon Sep 17 00:00:00 2001 From: Christian Steinle Date: Wed, 6 Jul 2022 13:28:46 +0200 Subject: [PATCH] Try to exchange deprecated command. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 4b05449..3cacbd6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:alpine AS build MAINTAINER chris RUN apk add git --no-cache && \ - go install -x github.com/mdlayher/apcupsd_exporter@latest + go build -x github.com/mdlayher/apcupsd_exporter@latest -o /go/bin/apcupsd_exporter FROM alpine:latest