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

Use openvpn from buster

parent 1752bb70
No related branches found
No related tags found
No related merge requests found
FROM debian:buster AS build FROM debian:buster AS build
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 \
build-essential pkg-config golang-go git ca-certificates \ build-essential pkg-config golang-go git ca-certificates openvpn \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# don't need to do bash tricks to keep the layers small, as this is a multi-stage build # don't need to do bash tricks to keep the layers small, as this is a multi-stage build
...@@ -15,6 +15,7 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base ...@@ -15,6 +15,7 @@ FROM registry.git.autistici.org/ai3/docker/chaperone-base
#RUN update-alternatives --set iptables /usr/sbin/iptables-legacy #RUN update-alternatives --set iptables /usr/sbin/iptables-legacy
COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher COPY --from=build /go/bin/shapeshifter-dispatcher /usr/local/bin/shapeshifter-dispatcher
COPY --from=build /usr/sbin/openvpn /usr/sbin/openvpn
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\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment