mirror of
git://develop.git.wordpress.org/
synced 2025-01-17 04:48:25 +01:00
5a87725ed9
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
16 lines
431 B
Bash
Executable File
16 lines
431 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eux
|
|
|
|
echo "Installing wp-cli..."
|
|
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
|
|
sudo chmod +x wp-cli.phar
|
|
sudo mv wp-cli.phar /usr/local/bin/wp
|
|
|
|
echo "Installing chromium..."
|
|
sudo apt-get update
|
|
sudo apt-get -y install --no-install-recommends chromium
|
|
|
|
# Copy the welcome message
|
|
sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
|