From 4c6edbcaf9f3a34ea235fb9a844cc0d505431865 Mon Sep 17 00:00:00 2001 From: david Date: Tue, 19 Dec 2023 09:44:18 +0100 Subject: [PATCH] added metadata to the image and updated README.md --- Dockerfile | 4 ++++ README.md | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 96d8109..9d76ff6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,6 +9,10 @@ RUN apk --no-cache add clang gcc git libc-dev make && \ # Build final Docker image FROM alpine:latest +LABEL Description="This image is based on alpine:latest and is used run dpinger" \ + Author="david@socialnerds.org" \ + Version="0.1" \ + License="MIT" RUN apk --no-cache add curl COPY --from=build /tmp/dpinger/dpinger /usr/local/bin/ diff --git a/README.md b/README.md index 6b77682..5fadbef 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # dpinger-container -Docker image for [dpinger](https://github.com/dennypage/dpinger) with [ntfy.sh](https://ntfy.sh) integration. The image is based off of `alpine:latest` and supports `amd64` and `arm64`. +Multi-arch Docker image for [dpinger](https://github.com/dennypage/dpinger) with [ntfy.sh](https://ntfy.sh) integration. The image is based off of `alpine:latest`. ## Usage @@ -26,3 +26,5 @@ services: environment: - NTFY_URL=https://ntfy.sh/test ``` + +For more information check out the documentation of the [dpinger project on Github](https://github.com/dennypage/dpinger).