From a4c4b74a128224a20593c11e030f1eabee766263 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Tue, 15 Nov 2022 19:18:40 +0100 Subject: [PATCH] ntfy : better Dockerfile --- podman-ntfy/docker/Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/podman-ntfy/docker/Dockerfile b/podman-ntfy/docker/Dockerfile index 217087c..8d3a3c9 100644 --- a/podman-ntfy/docker/Dockerfile +++ b/podman-ntfy/docker/Dockerfile @@ -1,5 +1,5 @@ #Build stage -FROM golang:1.19-alpine3.16 AS build-env +FROM docker.io/library/golang:1.19-alpine3.16 AS build-env ARG NTFY_VERSION @@ -15,7 +15,7 @@ RUN git clone --depth=1 -b "${NTFY_VERSION}" https://github.com/binwiederhier/nt #Build RUN cd ntfy && make web && make docs && make cli-linux-amd64 -FROM alpine:3.16 +FROM docker.io/library/alpine:3.16 LABEL maintainer="contact@garbaye.fr" EXPOSE 80/tcp @@ -33,5 +33,3 @@ USER ntfy ENTRYPOINT ["ntfy"] COPY --from=build-env /go/ntfy/dist/ntfy_linux_amd64_linux_amd64_v1/ntfy /usr/bin/ntfy - -# podman run --rm -p 3333:3333 -it localhost/ntfy:v1.29.0 serve --listen-http :3333