You've already forked dockerfiles
mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-07-17 01:22:25 +02:00
add openconnect-arm
This commit is contained in:
@ -2,11 +2,13 @@
|
|||||||
# Dockerfile for openconnect
|
# Dockerfile for openconnect
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine:edge
|
||||||
MAINTAINER kev <noreply@easypi.info>
|
MAINTAINER kev <noreply@easypi.info>
|
||||||
|
|
||||||
RUN set -xe \
|
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 \
|
&& mkdir -p /etc/openconnect \
|
||||||
&& touch /etc/openconnect/openconnect.conf
|
&& 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
|
Reference in New Issue
Block a user