Skip to content

Commit 99fee57

Browse files
committed
Remove cache perms fix from Dockerfile, move to script
1 parent ded183b commit 99fee57

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ RUN apk --update --no-cache add -t build-dependencies \
132132
&& git reset --hard $WEATHERMAP_PLUGIN_COMMIT \
133133
) \
134134
&& chown -R nobody:nogroup ${LIBRENMS_PATH} \
135-
&& chown -R librenms:librenms ${LIBRENMS_PATH}/cache \
136135
&& apk del build-dependencies \
137136
&& rm -rf .git \
138137
html/plugins/Test \

rootfs/etc/cont-init.d/02-fix-perms.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ mkdir -p /data \
99
chown librenms:librenms \
1010
/data \
1111
"${LIBRENMS_PATH}" \
12-
"${LIBRENMS_PATH}/.env"
12+
"${LIBRENMS_PATH}/.env" \
13+
"${LIBRENMS_PATH}/cache"
1314
chown -R librenms:librenms \
1415
/home/librenms \
1516
/tpls \

0 commit comments

Comments
 (0)