diff --git a/Dockerfile b/Dockerfile index 15a6343..3ce6aa3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM golang:alpine AS build MAINTAINER chris RUN apk add git --no-cache && \ - go get -u github.com/mdlayher/apcupsd_exporter && \ - go install ./... + go install github.com/mdlayher/apcupsd_exporter@latest FROM alpine:latest