Merge pull request #7353 from indrat/fix-missing-dokku-lib-host-root-for-docker-container

Add missing export DOKKU_LIB_HOST_ROOT when running dokku in container
This commit is contained in:
Jose Diaz-Gonzalez
2024-11-13 04:27:19 -05:00
committed by GitHub

View File

@@ -69,6 +69,11 @@ main() {
chown dokku:dokku /etc/default/dokku
fi
if [[ -n "$DOKKU_LIB_HOST_ROOT" ]]; then
echo "export DOKKU_LIB_HOST_ROOT=$DOKKU_LIB_HOST_ROOT" >>/etc/default/dokku
chown dokku:dokku /etc/default/dokku
fi
if [[ -f /mnt/dokku/plugin-list ]]; then
while read line; do
local plugin_name="$(echo "$line" | awk -F: '{print $1}')"