1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-05-29 22:57:35 +02:00

update openconnect (FIX #201)

This commit is contained in:
kev 2022-08-19 17:30:44 +08:00
parent f2105254ef
commit 566f5c6742
5 changed files with 13 additions and 55 deletions

View File

@ -2,14 +2,11 @@
# Dockerfile for openconnect # Dockerfile for openconnect
# #
FROM alpine:3.12 FROM alpine:3
MAINTAINER EasyPi Software Foundation MAINTAINER EasyPi Software Foundation
RUN set -xe \ RUN set -xe \
&& apk add --no-cache nettle \ && apk add --no-cache nettle openconnect \
&& apk add --no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
openconnect \
&& mkdir -p /etc/openconnect \ && mkdir -p /etc/openconnect \
&& touch /etc/openconnect/openconnect.conf && touch /etc/openconnect/openconnect.conf

View File

@ -7,19 +7,6 @@ openconnect
AnyConnect SSL VPN. It has since been ported to support the Juniper SSL VPN AnyConnect SSL VPN. It has since been ported to support the Juniper SSL VPN
which is now known as Pulse Connect Secure. which is now known as Pulse Connect Secure.
## docker-compose.yml
```yaml
openconnect:
image: vimagick/openconnect
command: https://vpn.easypi.info:4443
net: host
volumes:
- ./data:/etc/openconnect
stop_signal: SIGINT
privileged: yes
```
## up and running ## up and running
```bash ```bash

View File

@ -1,19 +0,0 @@
#
# Dockerfile for openconnect-arm
#
FROM arm32v7/alpine:3.12
MAINTAINER EasyPi Software Foundation
RUN set -xe \
&& apk add --no-cache nettle \
&& apk add --no-cache \
--repository http://dl-cdn.alpinelinux.org/alpine/edge/community/ \
openconnect \
&& mkdir -p /etc/openconnect \
&& touch /etc/openconnect/openconnect.conf
VOLUME /etc/openconnect
ENTRYPOINT ["openconnect", "--config=/etc/openconnect/openconnect.conf"]
CMD ["--help"]

View File

@ -1,9 +0,0 @@
openconnect:
image: easypi/openconnect-arm
command: https://vpn.easypi.info:4443
net: host
volumes:
- ./data:/etc/openconnect
stop_signal: SIGINT
privileged: yes
restart: unless-stopped

View File

@ -1,9 +1,11 @@
openconnect: version: "3.8"
services:
openconnect:
image: vimagick/openconnect image: vimagick/openconnect
command: https://vpn.easypi.info:4443 command: https://vpn.easypi.duckdns.org:4443
net: host
volumes: volumes:
- ./data:/etc/openconnect - ./data:/etc/openconnect
network_mode: host
stop_signal: SIGINT stop_signal: SIGINT
privileged: yes privileged: true
restart: unless-stopped restart: unless-stopped