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:
parent
f2105254ef
commit
566f5c6742
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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"]
|
@ -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
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user