Skip to content

Commit d980f9b

Browse files
hoodadtauerswal
authored andcommitted
Update Dockerfile
1 parent c741660 commit d980f9b

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

contrib/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM alpine:3.22.1 AS builder
1+
FROM alpine:latest AS builder
22

33
RUN apk add --no-cache \
44
build-base \
@@ -10,16 +10,19 @@ COPY ./ /app
1010
WORKDIR /app
1111
RUN autoreconf --install && ./configure && make
1212

13-
FROM alpine:3.22.1
13+
FROM alpine:latest
1414

1515
# OCI annotations
1616
LABEL org.opencontainers.image.title="fping" \
1717
org.opencontainers.image.authors="fping Community" \
1818
org.opencontainers.image.description="High performance ping tool" \
19-
org.opencontainers.image.base.name="docker.io/library/alpine:3.22.1" \
19+
org.opencontainers.image.base.name="docker.io/library/alpine:latest" \
2020
org.opencontainers.image.source="https://github.com/schweikert/fping" \
2121
org.opencontainers.image.documentation="https://fping.org/fping.8.html"
2222

23+
RUN apk add --no-cache mandoc
24+
2325
COPY --from=builder /app/src/fping /usr/local/bin/fping
26+
COPY --from=builder /app/doc/fping.8 /usr/share/man/man8/fping.8
2427

2528
ENTRYPOINT ["fping"]

0 commit comments

Comments
 (0)