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:
parent
ded183b473
commit
99fee57d6d
2 changed files with 2 additions and 2 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue