-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
24 lines (20 loc) · 835 Bytes
/
Dockerfile
File metadata and controls
24 lines (20 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM ghcr.io/servercontainers/apache2-ssl-secure
RUN apt-get -q -y update && \
apt-get -q -y install apt-transport-https gnupg wget && \
\
echo 'deb https://zmrepo.zoneminder.com/debian/release-1.36 bullseye/' >> /etc/apt/sources.list && \
wget -O - https://zmrepo.zoneminder.com/debian/archive-keyring.gpg | apt-key add - && \
\
apt-get -q -y update && \
apt-get -q -y install zoneminder && \
apt-get -q -y clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && \
\
a2enconf zoneminder && \
a2enmod rewrite && \
\
sed -i 's/ZM_DB_HOST=.*/ZM_DB_HOST=db/g' /etc/zm/zm.conf
COPY scripts/healthchecks.d/* /container/scripts/healthchecks.d/
COPY config/www/index.php /var/www/html/index.php
COPY config/runit/zoneminder /container/config/runit/zoneminder
COPY . /container-2