1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-21 18:06:36 +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
#
FROM alpine:3.12
FROM alpine:3
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 \
&& apk add --no-cache nettle openconnect \
&& mkdir -p /etc/openconnect \
&& 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
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
```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:
image: vimagick/openconnect
command: https://vpn.easypi.info:4443
net: host
volumes:
- ./data:/etc/openconnect
stop_signal: SIGINT
privileged: yes
restart: unless-stopped
version: "3.8"
services:
openconnect:
image: vimagick/openconnect
command: https://vpn.easypi.duckdns.org:4443
volumes:
- ./data:/etc/openconnect
network_mode: host
stop_signal: SIGINT
privileged: true
restart: unless-stopped