]>
Commit | Line | Data |
---|---|---|
621fe9ca | 1 | FROM alpine:3.18 as pdns-recursor |
94db630b | 2 | ARG BUILDER_CACHE_BUSTER= |
5a5b9246 PL |
3 | |
4 | RUN 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 | 8 | ADD 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 | |
11 | ADD builder/helpers/set-configure-ac-version.sh /pdns-recursor/builder/helpers/ | |
8670e40d | 12 | ADD builder-support/gen-version /pdns-recursor/pdns/recursordist/builder-support/gen-version |
5a5b9246 PL |
13 | WORKDIR /pdns-recursor/pdns/recursordist |
14 | ||
28c459c9 OM |
15 | ADD builder-support/helpers/ /pdns/builder-support/helpers/ |
16 | RUN /pdns/builder-support/helpers/install_rust.sh | |
17 | ||
5a5b9246 PL |
18 | RUN mkdir /sdist |
19 | ||
20 | ARG BUILDER_VERSION | |
21 | RUN /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 |
25 | RUN cp pdns-recursor-${BUILDER_VERSION}.tar.bz2 /sdist/ |