This repository was archived by the owner on Mar 16, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-14
lines changed
Expand file tree Collapse file tree 1 file changed +4
-14
lines changed Original file line number Diff line number Diff line change 11FROM alpine:3.13 AS build
22
3- ARG DANTE_VERSION=1.4.2
4-
5- RUN apk add --no-cache build-base
6- RUN wget https://www.inet.no/dante/files/dante-$DANTE_VERSION.tar.gz --output-document - | tar -xz \
7- && cd dante-$DANTE_VERSION \
8- && ac_cv_func_sched_setscheduler=no ./configure --disable-client \
9- && make install
10-
3+ RUN echo "https://dl-cdn.alpinelinux.org/alpine/v3.13/community" >> /etc/apk/repositories
114
125FROM alpine:3.13
136
@@ -18,8 +11,6 @@ LABEL source="github.com/wfg/docker-openvpn-client"
1811LABEL version="$IMAGE_VERSION"
1912LABEL created="$BUILD_DATE"
2013
21- COPY --from=build /usr/local/sbin/sockd /usr/local/sbin/sockd
22-
2314ENV KILL_SWITCH=on \
2415 VPN_LOG_LEVEL=3 \
2516 HTTP_PROXY=off \
@@ -28,11 +19,10 @@ ENV KILL_SWITCH=on \
2819RUN apk add --no-cache \
2920 bind-tools \
3021 openvpn \
31- tinyproxy
22+ tinyproxy \
23+ dante-server
3224
33- RUN mkdir -p /data/vpn \
34- && addgroup -S socks \
35- && adduser -S -D -G socks -g "socks" -H -h /dev/null socks
25+ RUN mkdir -p /data/vpn
3626
3727COPY data/ /data
3828
You can’t perform that action at this time.
0 commit comments