]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Add Remi's usage example. 9034/head
authoraerique <aerique@xs4all.nl>
Mon, 20 Apr 2020 08:31:28 +0000 (10:31 +0200)
committeraerique <aerique@xs4all.nl>
Mon, 20 Apr 2020 08:31:28 +0000 (10:31 +0200)
build-scripts/docker/generate-repo-files.sh

index 2dae235ca55463428ff7076e43dc8a135cb68cc9..7a462d3469b4762f2808c39b02df7401d37dca7d 100755 (executable)
@@ -6,6 +6,20 @@
 #     - `dnsdist --verbose 9.9.9.9`
 #     - `pdns_recursor`
 #     - `pdns_server`
+#
+# Remi contributed this snippet:
+#
+#     #!/bin/bash
+#
+#     readonly product=dnsdist-15
+#
+#     for version in centos-6 centos-7 centos-8 debian-buster debian-stretch ubuntu-bionic ubuntu-xenial; do
+#       docker build --no-cache --pull --file Dockerfile.${product}.${version} --tag ${product}.${version} .
+#     done
+#
+#     for version in centos-6 centos-7 centos-8 debian-buster debian-stretch ubuntu-bionic ubuntu-xenial; do
+#       docker run -it ${product}.${version} dnsdist -v 9.9.9.9
+#     done
 
 if [ "$1" = "" -o "$1" = "-?" -o "$1" = "-h" -o "$1" = "--help" ]; then
     echo "Usage: generate-repo-files.sh RELEASE"