1
0
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:
kev 2016-07-08 21:07:41 +08:00
parent d54dd11253
commit 3657ef4eed
3 changed files with 31 additions and 2 deletions

View File

@ -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

View 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"]

View 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