]> git.ipfire.org Git - thirdparty/pdns.git/blame - builder-support/dockerfiles/Dockerfile.target.sdist
Merge pull request #11431 from jroessler-ox/docs-kskzskroll-update
[thirdparty/pdns.git] / builder-support / dockerfiles / Dockerfile.target.sdist
CommitLineData
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 13FROM alpine:3.18 as sdist
94db630b 14ARG BUILDER_CACHE_BUSTER=
d45c935b 15
7dea1d27
KF
16@IF [ -z "$M_authoritative$M_recursor$M_dnsdist$M_all" ]
17RUN 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
21COPY --from=pdns-authoritative /sdist/ /sdist/
22@ENDIF
23
7dea1d27 24@IF [ -n "$M_recursor$M_all" ]
5a5b9246 25COPY --from=pdns-recursor /sdist/ /sdist/
d45c935b
PL
26@ENDIF
27
7dea1d27 28@IF [ -n "$M_dnsdist$M_all" ]
d45c935b
PL
29COPY --from=dnsdist /sdist/ /sdist/
30@ENDIF