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

set the capabilities so openvpn can make tun devices

parent e6927837
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,6 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base
COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY chaperone.d/ /etc/chaperone.d
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
openvpn netcat-openbsd iptables\
openvpn libcap2-bin netcat-openbsd iptables\
&& rm -rf /var/lib/apt/lists/*
setcap cap_net_admin=ep /usr/sbin/openvpn
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment