From 55b241ffdbaebb9522c9f263eb1075333f2359a4 Mon Sep 17 00:00:00 2001 From: Jso Date: Mon, 25 Sep 2023 17:53:33 +0200 Subject: [PATCH] fixed missing curl --- dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index 29ac7be..adb8ed6 100644 --- a/dockerfile +++ b/dockerfile @@ -15,8 +15,7 @@ COPY . ./ RUN CGO_ENABLED=0 GOOS=linux go build -o /airplay-music-watcher # Deploy the application binary into a lean image -FROM gcr.io/distroless/base-debian11 AS build-release-stage - +FROM alpine/curl AS build-release-stage WORKDIR / @@ -30,7 +29,7 @@ COPY --from=build-stage /airplay-music-watcher /airplay-music-watcher EXPOSE 5353 # Run -USER nonroot:nonroot +USER root:root VOLUME [ "/config" ] ENTRYPOINT ["/airplay-music-watcher", "/config/config.json"]