Skip to content

Commit

Permalink
Remove cache perms fix from Dockerfile, move to script
Browse files Browse the repository at this point in the history
  • Loading branch information
jcostom committed Jan 1, 2024
1 parent ded183b commit 99fee57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
3 changes: 2 additions & 1 deletion rootfs/etc/cont-init.d/02-fix-perms.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 99fee57

Please sign in to comment.