Commit Graph

36 Commits

Author SHA1 Message Date
8df891a400
Refactor plugin installer
- Fixes issue where installation is dependent of existence of working database connection

- Overall improvements

- Move out some logic to wp-plugin script

- Use curl to download plugins, instead of wp cli
2023-03-21 01:40:07 +01:00
c26a0afd1f
Define concurrency limit with variable 2023-03-17 21:14:26 +01:00
aa68d5ba82
Limit concurrency to 4 plugins per batch
This should help avoid concurrency related issues, sacrificing a little bit of performance
2023-03-17 21:00:06 +01:00
e2ed315ff2
Use indent of 4 spaces 2023-03-17 19:43:44 +01:00
f387ec0773
Revert "Improve plugin installer reliability"
This reverts commit f81ec4c67e.
2023-03-15 02:54:53 +01:00
c41860611d
Revert "Mark PLUGIN_PATH as mandatory variable"
This reverts commit 4fc19fa5e7.
2023-03-15 02:54:31 +01:00
4fc19fa5e7
Mark PLUGIN_PATH as mandatory variable 2023-03-15 02:38:24 +01:00
f81ec4c67e
Improve plugin installer reliability 2023-03-15 02:33:50 +01:00
64722d5b6c
Add healthcheck script and mechanism to make unhealthy if WP install integrity is compromised 2023-01-24 01:42:53 +01:00
fedfaeafc4
Apply patch during build time 2023-01-24 01:24:46 +01:00
bb3f62ef10
Initialize WordPress during build time 2023-01-23 23:03:06 +01:00
dd43a2e929
Remove WEB_ROOT env variable (legacy) 2023-01-23 19:50:30 +01:00
fdb3c6727e
Replace NGINX + PHP-FPM combo with NGINX Unit application server 2023-01-22 20:07:53 +01:00
68da285e90
Remove /etc/cont-init.d ties to nlss/php-nginx:7.4 image 2023-01-20 17:32:48 +01:00
ec87f65421
Apply executable permissions 2022-07-26 21:40:00 +02:00
8a8b5eb02e
Add exit handler and cleanup the code 2022-07-26 21:38:26 +02:00
f0786988ef
Fix typo 2022-07-26 21:34:35 +02:00
264a8bba25
Add exit handler 2022-07-26 21:33:28 +02:00
8b388ae116
Cleanup the code and use strict environment variables 2022-07-26 21:24:26 +02:00
a03f12990b
Update regex so only last zero matches
Fixes the bug with newer sed versions
2022-07-25 23:51:18 +02:00
xZero707
1f20e06727
Install plugins concurrently in order to improve perfomance
- No longer fatal if plugin install failed. Only warning is issued.
2022-01-22 01:05:52 +01:00
xZero707
85d377192a
Make wp-admin/update-core.php read-only
It has been reportedly replaced with original file by some security plugins.
2022-01-21 20:11:38 +01:00
xZero707
46e45bfa19 Add missing runtime libraries, and fix patch filename/path 2021-09-27 03:29:55 +02:00
xZero707
827f27fb7f Add multiarch support and GitHub actions. Support even older versions with newest features 2021-09-22 23:46:14 +02:00
xZero707
6878ea48e0 Update WordPress 5.6.2 -> 5.7.0
+ Small update of logic in 10-init-wordpress
2021-03-19 19:34:19 +01:00
xZero707
db04d0acf1 Optimise further 2021-02-15 01:17:40 +01:00
xZero707
910f24dbcf Rename variable so it makes more sense 2021-02-15 01:16:24 +01:00
xZero707
e9c35c6bd2 Optimize plugin installer performance
Implement manual plugin existence check. WP-CLI is quite slow and processing large list of plugins delays container boot too much
2021-02-15 01:14:42 +01:00
xZero707
b701163fba Use correct env name 2021-02-09 21:57:12 +01:00
xZero707
2aaf7abedd Add automated plugins installer 2021-02-09 21:27:12 +01:00
xZero707
9aabedc52b Remove wp-config.php from removal list 2021-02-09 21:13:14 +01:00
xZero707
c4dc8897f9 Add support for WP reinstallation based on WP_VERSION env variable. Refactor code 2021-02-09 20:38:03 +01:00
xZero707
da253b5138 Improve way of disabling updates: Use diff/patch 2020-10-04 19:33:34 +02:00
xZero707
db924a5a17 Disable WordPress core updates 2020-06-17 01:37:45 +02:00
xZero707
8953ce6759 Add comment 2020-03-29 01:46:30 +01:00
xZero707
3a95a4ec0c Initial commit 2020-03-29 01:42:21 +01:00