echo "Usage: generate-repo-files.sh RELEASE"
echo
echo " • RELEASE: [ auth-40 | auth-41 | auth-42 | auth-43 |"
- echo " rec-40 | rec-41 | rec-42 | rec-43 |"
+ echo " rec-40 | rec-41 | rec-42 | rec-43 | rec-44 |"
echo " dnsdist-15 ]"
exit 1
fi
RUN yum install -y $PKG
EOF
- if [ "$RELEASE" = "rec-43" ]; then
+ if [ "$RELEASE" = "rec-43" -o "$RELEASE" = "rec-44" ]; then
cat <<EOF >> Dockerfile.$RELEASE.$OS-$VERSION
RUN mkdir /var/run/pdns-recursor
RUN apt-get install -y $PKG
EOF
- if [ "$RELEASE" = "rec-43" ]; then
+ if [ "$RELEASE" = "rec-43" -o "$RELEASE" = "rec-44" ]; then
cat <<EOF >> Dockerfile.$RELEASE.$OS-$VERSION
RUN mkdir /var/run/pdns-recursor
write_ubuntu trusty pdns-recursor pdns_recursor
write_ubuntu xenial pdns-recursor pdns_recursor
write_ubuntu bionic pdns-recursor pdns_recursor
-elif [ "$RELEASE" = "rec-42" -o "$RELEASE" = "rec-43" ]; then
+elif [ "$RELEASE" = "rec-42" -o "$RELEASE" = "rec-43" -o "$RELEASE" = "rec-44" ]; then
write_centos 6 pdns-recursor pdns_recursor
write_centos 7 pdns-recursor pdns_recursor
write_centos 8 pdns-recursor pdns_recursor