pieterlange / kube-openvpn

:closed_lock_with_key: Kubernetes native OpenVPN
MIT License
383 stars 57 forks source link

Upgrade to 2.4.8 #70

Open cemo opened 4 years ago

cemo commented 4 years ago

Hi @pieterlange, is there a particular reason you did not upgraded to OpenVPN 2.4.8?

cemo commented 4 years ago

It seems alpine linux is not released with 2.4.8.

echiu64 commented 4 years ago

2.4.9-r0 is available in alpine 3.11 and 3.12 now

Quick diff to support:

diff --git a/Dockerfile b/Dockerfile
index 1ce3427..5c3bcaa 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,11 +1,11 @@
 # Smallest base image
-FROM alpine:3.10
+FROM alpine:3.12

 MAINTAINER Pieter Lange <pieter@ptlc.nl>

-RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community/" >> /etc/apk/repositories && \
+RUN echo "http://dl-cdn.alpinelinux.org/alpine/v3.12/community/" >> /etc/apk/repositories && \
     echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing/" >> /etc/apk/repositories && \
-    apk add --update openvpn=2.4.7-r1 \
+    apk add --update openvpn=2.4.9-r0 \
       bash easy-rsa libintl inotify-tools openvpn-auth-pam google-authenticator pamtester && \
     apk add --virtual temppkg gettext &&  \
     cp /usr/bin/envsubst /usr/local/bin/envsubst && \
tibbon commented 3 years ago

How's it looking now?