mirror of
https://github.com/flant/ovpn-admin.git
synced 2025-12-12 11:56:15 -08:00
Bumps alpine from 3.22 to 3.23. --- updated-dependencies: - dependency-name: alpine dependency-version: '3.23' dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
10 lines
591 B
Docker
10 lines
591 B
Docker
FROM alpine:3.23
|
|
ARG TARGETARCH
|
|
RUN apk add --update bash openvpn easy-rsa iptables && \
|
|
ln -s /usr/share/easy-rsa/easyrsa /usr/local/bin && \
|
|
wget https://github.com/pashcovich/openvpn-user/releases/download/v1.0.4/openvpn-user-linux-${TARGETARCH}.tar.gz -O - | tar xz -C /usr/local/bin && \
|
|
rm -rf /tmp/* /var/tmp/* /var/cache/apk/* /var/cache/distfiles/*
|
|
RUN if [ -f "/usr/local/bin/openvpn-user-${TARGETARCH}" ]; then ln -s /usr/local/bin/openvpn-user-${TARGETARCH} /usr/local/bin/openvpn-user; fi
|
|
COPY setup/ /etc/openvpn/setup
|
|
RUN chmod +x /etc/openvpn/setup/configure.sh
|