diff --git a/Dockerfile b/Dockerfile index ba859f5..8ee8db5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ ARG SHOUTRRR_VERSION=v0.6.1 FROM golang:bullseye AS builder -RUN git clone https://github.com/containrrr/shoutrrr.git shoutrrr \ - cd ./shoutrrr \ - git checkout ${SHOUTRRR_VERSION} \ +RUN git clone https://github.com/containrrr/shoutrrr.git shoutrrr && \ + cd ./shoutrrr && \ + git checkout ${SHOUTRRR_VERSION} && \ go build -o /output ./shoutrrr FROM debian:11-slim