Unverified Commit a1e4ce66 authored by micah's avatar micah

Add knot-resolver so we can do DNS resolution.

We add the http module so we can get prometheus metrics as well.
parent 3f21107e
Pipeline #36808 failed with stages
in 6 minutes and 15 seconds
......@@ -22,7 +22,7 @@ COPY --from=build /usr/sbin/openvpn /usr/sbin/openvpn
COPY --from=build /go/bin/openvpn_exporter /usr/local/bin/openvpn_exporter
COPY chaperone.d/ /etc/chaperone.d
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openvpn libcap2-bin netcat-openbsd iptables\
openvpn libcap2-bin netcat-openbsd iptables knot-resolver knot-resolver-module-http \
&& rm -rf /var/lib/apt/lists/*
RUN setcap cap_net_admin,cap_net_bind_service+ep /usr/sbin/openvpn
RUN setcap cap_net_admin+ep /bin/ip
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment