Fix auto-reload: add missing files and inotify-tools to image

This commit is contained in:
Kristof Bach 2025-07-13 13:42:05 +02:00
parent 26bf42523e
commit 1dece5b009
No known key found for this signature in database
GPG Key ID: 2EBA553C7FE6CF04
4 changed files with 9 additions and 0 deletions

View File

@ -17,6 +17,7 @@ RUN \
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add --no-cache \
inotify-tools \
memcached \
nginx==${NGINX_VERSION} \
nginx-mod-http-brotli==${NGINX_VERSION} \
@ -71,6 +72,9 @@ RUN \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
rm -f /etc/nginx/conf.d/stream.conf
# copy local files
COPY root/ /
# ports and volumes
EXPOSE 80 443

View File

@ -17,6 +17,7 @@ RUN \
&& awk '/^P:nginx$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add --no-cache \
inotify-tools \
memcached \
nginx==${NGINX_VERSION} \
nginx-mod-http-brotli==${NGINX_VERSION} \
@ -71,6 +72,9 @@ RUN \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
rm -f /etc/nginx/conf.d/stream.conf
# copy local files
COPY root/ /
# ports and volumes
EXPOSE 80 443

View File

@ -87,6 +87,7 @@ init_diagram: |
"nginx:latest" <- Base Images
# changelog
changelogs:
- {date: "13.07.25:", desc: "Fixed auto-reload functionality."}
- {date: "16.06.25:", desc: "Rebase to Alpine 3.22 with PHP 8.4. Add [Auto Reload](https://github.com/linuxserver/docker-mods/tree/swag-auto-reload) functionality. Drop PHP bindings for mcrypt as it is no longer maintained."}
- {date: "17.12.24:", desc: "Rebase to Alpine 3.21."}
- {date: "31.05.24:", desc: "Rebase to Alpine 3.20. Existing users should update their nginx confs to avoid http2 deprecation warnings."}