diff --git a/Dockerfile b/Dockerfile index 2e99416..1c3eb99 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:3 AS builder +FROM alpine:20231219 AS builder ARG MDNS_REPEATER_VERSION=local WORKDIR / COPY mdns-repeater.c mdns-repeater.c @@ -7,7 +7,7 @@ RUN set -ex && \ apk add --no-cache build-base && \ gcc -o /bin/mdns-repeater mdns-repeater.c -DMDNS_REPEATER_VERSION=\"${MDNS_REPEATER_VERSION}\" -FROM alpine:3@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b +FROM alpine:20231219@sha256:c5b1261d6d3e43071626931fc004f70149baeba2c8ec672bd4f27761f8e1ad6b # hadolint ignore=DL3018 RUN set -ex && \ apk add --no-cache vlan libcap bash