Correction of run syntax.

This commit is contained in:
2022-07-06 13:32:07 +02:00
parent 0aae5afc2a
commit d0ea6b4d7d

View File

@@ -1,7 +1,7 @@
FROM golang:alpine AS build
MAINTAINER chris
RUN apk add git --no-cache && \
git clone github.com/mdlayher/apcupsd_exporter
git clone github.com/mdlayher/apcupsd_exporter && \
go build -o /go/bin/apcupsd_exporter
FROM alpine:latest