]> git.gsnw.org Git - fping.git/commitdiff
Update Dockerfile
authorhoodad <25026962+hoodadt@users.noreply.github.com>
Sun, 27 Jul 2025 14:43:01 +0000 (14:43 +0000)
committerErik Auerswald <auerswal@unix-ag.uni-kl.de>
Sat, 2 Aug 2025 12:00:26 +0000 (14:00 +0200)
contrib/Dockerfile

index 7456f31359df4561f5cca70390fa778f90aad70c..476e3b060e81273777b9e30e9908e51c9b178cb1 100644 (file)
@@ -1,4 +1,4 @@
-FROM alpine:3.22.1 AS builder
+FROM alpine:latest AS builder
 
 RUN apk add --no-cache \
   build-base \
@@ -10,16 +10,19 @@ COPY ./ /app
 WORKDIR /app
 RUN autoreconf --install && ./configure && make
 
-FROM alpine:3.22.1
+FROM alpine:latest
 
 # OCI annotations
 LABEL org.opencontainers.image.title="fping" \
       org.opencontainers.image.authors="fping Community" \
       org.opencontainers.image.description="High performance ping tool" \
-      org.opencontainers.image.base.name="docker.io/library/alpine:3.22.1" \
+      org.opencontainers.image.base.name="docker.io/library/alpine:latest" \
       org.opencontainers.image.source="https://github.com/schweikert/fping" \
       org.opencontainers.image.documentation="https://fping.org/fping.8.html"
 
+RUN apk add --no-cache mandoc
+
 COPY --from=builder /app/src/fping /usr/local/bin/fping
+COPY --from=builder /app/doc/fping.8 /usr/share/man/man8/fping.8
 
 ENTRYPOINT ["fping"]