You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
352 B
13 lines
352 B
FROM debian:bookworm AS build
|
|
RUN apt update
|
|
RUN apt install --yes gcc make
|
|
WORKDIR /src
|
|
ADD https://thekelleys.org.uk/dnsmasq/archive/dnsmasq-2.42.tar.gz dnsmasq-2.42.tar.gz
|
|
RUN tar -xf dnsmasq-2.42.tar.gz
|
|
WORKDIR /src/dnsmasq-2.42
|
|
RUN make install PREFIX=/build
|
|
|
|
FROM debian:bookworm
|
|
COPY --from=build /build/ /usr/local
|
|
ENTRYPOINT ["dnsmasq", "-d"]
|