Skip to content
Snippets Groups Projects
Unverified Commit a1e4ce66 authored by micah's avatar micah :speech_balloon:
Browse files

Add knot-resolver so we can do DNS resolution.

We add the http module so we can get prometheus metrics as well.
parent 3f21107e
Branches
Tags
No related merge requests found
...@@ -22,7 +22,7 @@ COPY --from=build /usr/sbin/openvpn /usr/sbin/openvpn ...@@ -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 --from=build /go/bin/openvpn_exporter /usr/local/bin/openvpn_exporter
COPY chaperone.d/ /etc/chaperone.d COPY chaperone.d/ /etc/chaperone.d
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ 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/* && rm -rf /var/lib/apt/lists/*
RUN setcap cap_net_admin,cap_net_bind_service+ep /usr/sbin/openvpn RUN setcap cap_net_admin,cap_net_bind_service+ep /usr/sbin/openvpn
RUN setcap cap_net_admin+ep /bin/ip RUN setcap cap_net_admin+ep /bin/ip
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment