File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1313 "userGid" : " 1000" ,
1414 "upgradePackages" : " true"
1515 },
16- "ghcr.io/devcontainers/features/sshd:1" : {},
17- "ghcr.io/devcontainers/features/git:1" : {
18- "version" : " latest"
19- }
16+ "ghcr.io/devcontainers/features/sshd:1" : {}
2017 },
2118 "initializeCommand" : " [ ! -f '.devcontainer/.env' ] && cp '.devcontainer/config/app/.env.example' '.devcontainer/.env' || true" ,
2219 "onCreateCommand" : " chmod +x ./${localWorkspaceFolderBasename}/.devcontainer/install.sh && ./${localWorkspaceFolderBasename}/.devcontainer/install.sh" ,
Original file line number Diff line number Diff line change @@ -38,6 +38,8 @@ wp core install --url="${WP_HOME}" --title="${WP_SITE_TITLE}" --admin_user="admi
3838
3939# Add sage if it's not active
4040if ! wp theme status sage --skip-plugins --skip-themes 2> /dev/null | grep -q " ^sage.*active" ; then
41+ # Ensure COMPOSER_ROOT_VERSION is available for composer
42+ export COMPOSER_ROOT_VERSION=" ${COMPOSER_ROOT_VERSION:- 5.0.x-dev} "
4143 cd /roots/app
4244 # Only require sage if it doesn't exist
4345 if ! wp theme is-installed sage --skip-plugins --skip-themes 2> /dev/null; then
@@ -65,5 +67,4 @@ find $(wp theme path --skip-plugins --skip-themes 2>/dev/null) -mindepth 1 -maxd
6567 while read theme; do install_theme " $theme " ; done
6668
6769wp dotenv salts regenerate --skip-plugins --skip-themes 2> /dev/null || true
68- wp plugin activate soil --skip-plugins --skip-themes 2> /dev/null || true
6970wp rewrite structure ' %postname%' --hard --skip-plugins --skip-themes 2> /dev/null
You can’t perform that action at this time.
0 commit comments