mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-15 11:59:11 +02:00
Update Dockerfile
This commit is contained in:
@@ -29,13 +29,13 @@ FROM fireflyiii/core:latest
|
|||||||
# # Change data location
|
# # Change data location
|
||||||
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
|
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
|
||||||
|
|
||||||
RUN \
|
#RUN \
|
||||||
#################
|
#################
|
||||||
# Fix for 5.7.5 #
|
# Fix for 5.7.5 #
|
||||||
#################
|
#################
|
||||||
PATH="$(find / -type f -name 'GroupCollector.php' 2>/dev/null)" \
|
#PATH="$(find / -type f -name 'GroupCollector.php' 2>/dev/null)" \
|
||||||
&& sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \
|
#&& sed -i "s#\'amount\'], \$transaction #\'amount\'], (string)(\$transaction#g" "$PATH" \
|
||||||
&& sed -i "s#\'0\');#\'0\'));#g" "$PATH"
|
#&& sed -i "s#\'0\');#\'0\'));#g" "$PATH"
|
||||||
|
|
||||||
##################
|
##################
|
||||||
# 3 Install apps #
|
# 3 Install apps #
|
||||||
|
|||||||
Reference in New Issue
Block a user