zm-docker/Dockerfile

81 lines
1.3 KiB
Docker
Raw Normal View History

2022-08-22 15:06:14 +02:00
FROM debian:bullseye-slim
2021-02-07 22:16:10 +01:00
2021-02-07 10:26:49 +01:00
ENV TZ Etc/UTC
ENV FQDN localhost
ENV SELFSIGNED 0
2021-01-12 18:33:21 +01:00
2021-02-07 22:16:10 +01:00
RUN apt-get update
2021-02-07 10:26:49 +01:00
RUN apt-get install -y \
apache2 \
mariadb-server \
php \
libapache2-mod-php \
php-mysql
2021-01-12 18:33:21 +01:00
RUN apt-get install -y \
libavcodec58 \
libavdevice58 \
libavformat58 \
libavutil56 \
libcurl3-gnutls \
libjpeg62-turbo \
libswresample3 \
libswscale5 \
sudo \
javascript-common \
ffmpeg \
libcurl4-gnutls-dev \
libdatetime-perl \
libdate-manip-perl \
libmime-lite-perl \
libmime-tools-perl \
libdbd-mysql-perl \
libphp-serialization-perl \
libnet-sftp-foreign-perl \
libarchive-zip-perl \
libdevice-serialport-perl \
libimage-info-perl \
libjson-maybexs-perl \
libsys-mmap-perl \
liburi-encode-perl \
libwww-perl \
libdata-dump-perl \
libclass-std-fast-perl \
libsoap-wsdl-perl \
libio-socket-multicast-perl \
libsys-cpu-perl \
libsys-meminfo-perl \
libdata-uuid-perl \
libnumber-bytes-human-perl \
libfile-slurp-perl \
php-gd \
php-apcu \
php-intl \
policykit-1 \
rsyslog \
zip \
libcrypt-eksblowfish-perl \
libdata-entropy-perl \
libvncclient1 \
libjwt-gnutls0 \
libgsoap-2.8.104 \
2022-08-23 16:48:55 +02:00
tzdata \
msmtp
2021-01-12 18:33:21 +01:00
RUN adduser www-data video
2021-03-02 22:34:51 +01:00
RUN mkdir /config
2021-01-12 18:33:21 +01:00
COPY zoneminder_1.36.24~20220823.0-bullseye_arm64.deb /
2021-01-12 18:33:21 +01:00
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
2021-01-12 18:33:21 +01:00
ENTRYPOINT ["/entrypoint.sh"]
2021-02-07 10:26:49 +01:00
VOLUME /config
VOLUME /var/cache/zoneminder
2021-03-02 22:34:51 +01:00
VOLUME /sslcert
2021-02-07 10:26:49 +01:00
2021-01-12 18:33:21 +01:00
EXPOSE 443/tcp