]> git.ipfire.org Git - thirdparty/pdns.git/blame - builder-support/dockerfiles/Dockerfile.recursor
Merge pull request #13387 from omoerbeek/rec-b-root-servers
[thirdparty/pdns.git] / builder-support / dockerfiles / Dockerfile.recursor
CommitLineData
621fe9ca 1FROM alpine:3.18 as pdns-recursor
94db630b 2ARG BUILDER_CACHE_BUSTER=
5a5b9246
PL
3
4RUN apk add --no-cache gcc g++ make tar autoconf automake protobuf-dev lua-dev \
98508251 5 libtool file boost-dev curl openssl-dev ragel python3 \
621fe9ca 6 flex bison git bash
5a5b9246 7
190aaf91 8ADD COPYING NOTICE /pdns-recursor/
5a5b9246
PL
9@EXEC sdist_dirs=(build-aux m4 pdns ext docs)
10@EXEC for d in ${sdist_dirs[@]} ; do echo "COPY $d/ /pdns-recursor/$d/" ; done
11ADD builder/helpers/set-configure-ac-version.sh /pdns-recursor/builder/helpers/
8670e40d 12ADD builder-support/gen-version /pdns-recursor/pdns/recursordist/builder-support/gen-version
5a5b9246
PL
13WORKDIR /pdns-recursor/pdns/recursordist
14
28c459c9
OM
15ADD builder-support/helpers/ /pdns/builder-support/helpers/
16RUN /pdns/builder-support/helpers/install_rust.sh
17
5a5b9246
PL
18RUN mkdir /sdist
19
20ARG BUILDER_VERSION
21RUN /pdns-recursor/builder/helpers/set-configure-ac-version.sh && \
22 autoreconf -v -i --force && \
9d52f503 23 ./configure --disable-dependency-tracking && \
5a5b9246
PL
24 make dist
25RUN cp pdns-recursor-${BUILDER_VERSION}.tar.bz2 /sdist/