initial
This commit is contained in:
13
build/Dockerfile
Normal file
13
build/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM i386/debian:bullseye
|
||||
COPY kerio-control-vpnclient-8.1.1-1212-p3-linux.deb /tmp/
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
RUN apt-get update \
|
||||
&& dpkg --unpack /tmp/kerio-control-vpnclient-8.1.1-1212-p3-linux.deb \
|
||||
&& rm -f /var/lib/dpkg/info/kerio-control-vpnclient.postinst \
|
||||
&& apt-get install -y -f \
|
||||
&& apt-get install -y -f supervisor debconf \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
COPY supervisord.conf /etc/supervisor/conf.d/kerio.conf
|
||||
WORKDIR /root
|
||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]
|
||||
12
build/supervisord.conf
Normal file
12
build/supervisord.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[program:kerio-vpn]
|
||||
command=/etc/init.d/kerio-kvc start
|
||||
autostart=true
|
||||
autorestart=true
|
||||
process_name=kvpncsvc
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
||||
Reference in New Issue
Block a user