]>
Commit | Line | Data |
---|---|---|
7dea1d27 | 1 | @IF [ -n "$M_authoritative$M_all" ] |
d45c935b PL |
2 | @INCLUDE Dockerfile.authoritative |
3 | @ENDIF | |
4 | ||
7dea1d27 | 5 | @IF [ -n "$M_recursor$M_all" ] |
d45c935b PL |
6 | @INCLUDE Dockerfile.recursor |
7 | @ENDIF | |
8 | ||
7dea1d27 | 9 | @IF [ -n "$M_dnsdist$M_all" ] |
d45c935b PL |
10 | @INCLUDE Dockerfile.dnsdist |
11 | @ENDIF | |
12 | ||
621fe9ca | 13 | FROM alpine:3.18 as sdist |
94db630b | 14 | ARG BUILDER_CACHE_BUSTER= |
d45c935b | 15 | |
7dea1d27 KF |
16 | @IF [ -z "$M_authoritative$M_recursor$M_dnsdist$M_all" ] |
17 | RUN echo "no valid module specified! - please pick just one using -m {authoritative|recursor|dnsdist|all}" ; exit 1 | |
10107cf8 PD |
18 | @ENDIF |
19 | ||
7dea1d27 | 20 | @IF [ -n "$M_authoritative$M_all" ] |
d45c935b PL |
21 | COPY --from=pdns-authoritative /sdist/ /sdist/ |
22 | @ENDIF | |
23 | ||
7dea1d27 | 24 | @IF [ -n "$M_recursor$M_all" ] |
5a5b9246 | 25 | COPY --from=pdns-recursor /sdist/ /sdist/ |
d45c935b PL |
26 | @ENDIF |
27 | ||
7dea1d27 | 28 | @IF [ -n "$M_dnsdist$M_all" ] |
d45c935b PL |
29 | COPY --from=dnsdist /sdist/ /sdist/ |
30 | @ENDIF |