Skip to content

Commit

Permalink
run occ upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
tilosp committed Apr 17, 2017
1 parent 055f577 commit 87c6513
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 10.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions 10.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions 11.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions 11.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions 9.0/apache/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions 9.0/fpm/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"
4 changes: 4 additions & 0 deletions docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ if version_greater "$image_version" "$installed_version"; then
done

chown -R www-data /var/www/html

if [ "$installed_version" != "0.0.0~unknown" ]; then
su - www-data -s /bin/bash -c 'php /var/www/html/occ upgrade --no-app-disable'
fi
fi

exec "$@"

0 comments on commit 87c6513

Please sign in to comment.