mirror of
https://github.com/dokku/dokku.git
synced 2025-12-28 16:06:40 +01:00
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:
@@ -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}')"
|
||||
|
||||
Reference in New Issue
Block a user