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