1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 02:14:48 +00:00

Remove cache perms fix from Dockerfile, move to script

This commit is contained in:
Jason Costomiris 2024-01-01 14:00:25 -05:00
parent ded183b473
commit 99fee57d6d
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -132,7 +132,6 @@ RUN apk --update --no-cache add -t build-dependencies \
&& git reset --hard $WEATHERMAP_PLUGIN_COMMIT \
) \
&& chown -R nobody:nogroup ${LIBRENMS_PATH} \
&& chown -R librenms:librenms ${LIBRENMS_PATH}/cache \
&& apk del build-dependencies \
&& rm -rf .git \
html/plugins/Test \

View file

@ -9,7 +9,8 @@ mkdir -p /data \
chown librenms:librenms \
/data \
"${LIBRENMS_PATH}" \
"${LIBRENMS_PATH}/.env"
"${LIBRENMS_PATH}/.env" \
"${LIBRENMS_PATH}/cache"
chown -R librenms:librenms \
/home/librenms \
/tpls \