[wgo-web/nginx] Delete code updates to Docker image



commit e9fc2386ccb4d76c8a2f919ed8b8b09e1b915590
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date:   Mon Jan 11 13:44:31 2021 +0100

    Delete code updates to Docker image

 entrypoint | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/entrypoint b/entrypoint
index 5f0375b..9d5f978 100755
--- a/entrypoint
+++ b/entrypoint
@@ -1,13 +1,6 @@
 #!/bin/bash
 
-WP="wp"
+docker-entrypoint.sh apache2
+wp core update-db
 
-IMAGE_VERSION="$WORDPRESS_VERSION"
-CURRENT_VERSION="$($WP core version)"
-
-if [[ "$CURRENT_VERSION" != "$IMAGE_VERSION" ]]; then
-    $WP core update 
-    $WP plugin update --all
-fi
-
-exec docker-entrypoint.sh php-fpm
+exec php-fpm


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]