Use Pebble's new dnsserver option and remove an ugly Docker workaround

pull/66/head
Richard Körber 2018-06-28 00:30:12 +02:00
parent 3b7aa20759
commit b9aeb81615
No known key found for this signature in database
GPG Key ID: AAB9FD19C78AA3E0
1 changed files with 1 additions and 8 deletions

View File

@ -136,8 +136,7 @@
</ports>
<cmd>
<shell>
echo "nameserver $(grep 'bammbamm' /etc/hosts|cut -f1)"&gt;/etc/resolv.conf; \
pebble -strict -config /etc/pebble/pebble-config.json
pebble -strict -dnsserver bammbamm:53 -config /etc/pebble/pebble-config.json
</shell>
</cmd>
<assembly>
@ -163,12 +162,6 @@
<wait>
<log>Pebble running</log>
</wait>
<!-- DNS must point to bammbamm, but we need the IP here...
See the "echo" line in the build/cmd above.
<dns>
<host>bammbamm</host>
</dns>
-->
<!-- Comment out to perform tests with validation delays. -->
<env>
<PEBBLE_VA_NOSLEEP>1</PEBBLE_VA_NOSLEEP>