1#!/bin/bash
2
3set -x
4
5# Install unbound so we can test dnscrypt-wrapper.
6apt-get install -y unbound
7
8# Workaround where the container does not have ::1 but unbound default to
9# binding to localhost (which is both 127.0.0.1 and ::1)
10cat <<EOF > /etc/unbound/unbound.conf
11server:
12    interface: 127.0.0.1
13remote-control:
14    control-enable: no
15EOF
16service unbound restart
17