Build/Test Tools: Improve devcontainer setup for non-Codespaces usage

This now runs in local Docker as well. Sets the executable propset to explicitly identify `install-tool.sh` and `setup.sh` as executable. Unclear if this will sync via the Git mirror; ideally it would as otherwise the two files show as modified in a Git clone even in a fresh container.

Props samruddhikhandale.
See #57187.


git-svn-id: https://develop.svn.wordpress.org/trunk@55353 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi
2023-02-16 03:48:26 +00:00
parent 8d3009deef
commit 5a87725ed9
4 changed files with 9 additions and 6 deletions
+3 -4
View File
@@ -1,7 +1,7 @@
version: '3.1'
services:
wordpress:
app:
image: wordpress
restart: always
ports:
@@ -12,11 +12,11 @@ services:
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- ../src:/var/www/html
- ../..:/workspaces:cached
db:
image: mariadb
restart: always
restart: unless-stopped
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
@@ -26,5 +26,4 @@ services:
- db:/var/lib/mysql
volumes:
wordpress:
db: