mirror of https://github.com/Nardo86/zm-docker.git
chore: Updated to zoneminder_1.36.25
This commit is contained in:
parent
98301d11a9
commit
1e03a6d995
|
@ -74,7 +74,7 @@ RUN adduser www-data video
|
||||||
|
|
||||||
RUN mkdir /config
|
RUN mkdir /config
|
||||||
|
|
||||||
COPY zoneminder_1.36.24~20220823.0-bullseye_arm64.deb /
|
COPY zoneminder_1.36.25~20220831.9-bullseye_arm64.deb /
|
||||||
|
|
||||||
COPY entrypoint.sh /
|
COPY entrypoint.sh /
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
|
@ -9,10 +9,10 @@ dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
|
|
||||||
#install from package
|
#install from package
|
||||||
echo "Check ZoneMinder version"
|
echo "Check ZoneMinder version"
|
||||||
RESULT=$(dpkg -l | grep '^ii' | grep zoneminder |grep 1.36.24)
|
RESULT=$(dpkg -l | grep '^ii' | grep zoneminder |grep 1.36.25)
|
||||||
if [ "$RESULT" == "" ]; then
|
if [ "$RESULT" == "" ]; then
|
||||||
echo "Installing new version"
|
echo "Installing new version"
|
||||||
dpkg -i /zoneminder_1.36.24~20220823.0-bullseye_arm64.deb
|
dpkg -i /zoneminder_1.36.25~20220831.9-bullseye_arm64.deb
|
||||||
a2enmod ssl \
|
a2enmod ssl \
|
||||||
&& a2enmod rewrite \
|
&& a2enmod rewrite \
|
||||||
&& a2enmod headers \
|
&& a2enmod headers \
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue