mirror of
https://github.com/os-mnemo/pan-globalprotect-okta
synced 2026-07-31 07:44:38 +02:00
Upgrade Dockerfile (anybody using it?).
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
*
|
||||||
|
!gp-okta.py
|
||||||
|
!gp-okta.conf
|
||||||
|
*.pem
|
||||||
+5
-5
@@ -1,11 +1,11 @@
|
|||||||
FROM alpine:3.8
|
FROM alpine:3.10
|
||||||
|
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk update && apk add --no-cache \
|
||||||
curl git \
|
curl git \
|
||||||
automake autoconf libtool gcc musl-dev make linux-headers \
|
automake autoconf libtool gcc musl-dev make linux-headers \
|
||||||
gettext gnutls-dev libxml2-dev lz4-dev libproxy-dev \
|
gettext openssl-dev libxml2-dev lz4-dev libproxy-dev \
|
||||||
py2-lxml py2-requests py2-pip \
|
py2-lxml py2-requests py2-pip \
|
||||||
&& rm -rf /var/cache/apk/*
|
&& rm -rf /var/cache/apk/*
|
||||||
RUN pip install pyotp
|
RUN pip install pyotp
|
||||||
@@ -15,10 +15,10 @@ RUN mkdir -p /usr/local/sbin
|
|||||||
RUN curl -o /usr/local/sbin/vpnc-script http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
|
RUN curl -o /usr/local/sbin/vpnc-script http://git.infradead.org/users/dwmw2/vpnc-scripts.git/blob_plain/HEAD:/vpnc-script
|
||||||
RUN chmod +x /usr/local/sbin/vpnc-script
|
RUN chmod +x /usr/local/sbin/vpnc-script
|
||||||
|
|
||||||
RUN git clone https://github.com/dlenski/openconnect.git
|
RUN git clone -b "v8.10" --single-branch --depth=1 https://gitlab.com/openconnect/openconnect.git
|
||||||
WORKDIR /openconnect
|
WORKDIR /openconnect
|
||||||
RUN ./autogen.sh
|
RUN ./autogen.sh
|
||||||
RUN ./configure --with-vpnc-script=/usr/local/sbin/vpnc-script
|
RUN ./configure --without-gnutls --with-vpnc-script=/usr/local/sbin/vpnc-script
|
||||||
RUN make check
|
RUN make check
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user