v.9.4.5 for ch.2
This commit is contained in:
13
build/9.4.5/Dockerfile
Normal file
13
build/9.4.5/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
FROM debian:bullseye
|
||||||
|
COPY kerio-control-vpnclient-9.4.5-8629-linux-amd64.deb /tmp/
|
||||||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
RUN apt-get update \
|
||||||
|
&& dpkg --unpack /tmp/kerio-control-vpnclient-9.4.5-8629-linux-amd64.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/9.4.5/supervisord.conf
Normal file
12
build/9.4.5/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