mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-24 08:52:15 +02:00
add openconnect-arm
This commit is contained in:
parent
d54dd11253
commit
3657ef4eed
@ -2,11 +2,13 @@
|
||||
# Dockerfile for openconnect
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
FROM alpine:edge
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache --repository http://dl-3.alpinelinux.org/alpine/edge/testing/ openconnect \
|
||||
&& apk add --no-cache \
|
||||
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
openconnect \
|
||||
&& mkdir -p /etc/openconnect \
|
||||
&& touch /etc/openconnect/openconnect.conf
|
||||
|
||||
|
18
openconnect/arm/Dockerfile
Normal file
18
openconnect/arm/Dockerfile
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
# Dockerfile for openconnect-arm
|
||||
#
|
||||
|
||||
FROM easypi/alpine-arm:edge
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add --no-cache \
|
||||
--repository http://dl-cdn.alpinelinux.org/alpine/edge/testing/ \
|
||||
openconnect \
|
||||
&& mkdir -p /etc/openconnect \
|
||||
&& touch /etc/openconnect/openconnect.conf
|
||||
|
||||
VOLUME /etc/openconnect
|
||||
|
||||
ENTRYPOINT ["openconnect", "--config=/etc/openconnect/openconnect.conf"]
|
||||
CMD ["--help"]
|
9
openconnect/arm/docker-compose.yml
Normal file
9
openconnect/arm/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
||||
openconnect:
|
||||
image: vimagick/openconnect
|
||||
command: https://vpn.easypi.info:4443
|
||||
net: host
|
||||
volumes:
|
||||
- ./data:/etc/openconnect
|
||||
stop_signal: SIGINT
|
||||
privileged: yes
|
||||
restart: unless-stopped
|
Loading…
Reference in New Issue
Block a user