Skip to content

Commit 6e7948c

Browse files
chore: update docker-compose command
1 parent 4aa0017 commit 6e7948c

4 files changed

+6
-9
lines changed

bin/run-e2e-tests-gutenberg-datatable.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env bash
2-
docker-compose -f $DOCKER_FILE run --rm -u root cli bash -c "wp --allow-root plugin deactivate classic-editor"
2+
docker compose -f $DOCKER_FILE run --rm -u root cli bash -c "wp --allow-root plugin deactivate classic-editor"
33

44

55

bin/run-e2e-tests-gutenberg.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/usr/bin/env bash
2-
docker-compose -f $DOCKER_FILE run --rm -u root cli bash -c "wp --allow-root plugin deactivate classic-editor"
2+
docker compose -f $DOCKER_FILE run --rm -u root cli bash -c "wp --allow-root plugin deactivate classic-editor"

bin/wp-down.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/usr/bin/env bash
2-
docker-compose -f $DOCKER_FILE down
2+
docker compose -f $DOCKER_FILE down
33
docker volume prune --force

bin/wp-init.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
#!/usr/bin/env bash
22

3-
docker-compose -f $DOCKER_FILE up -d
3+
docker compose -f $DOCKER_FILE up -d
44
# Wait for mysql container to be ready.
5-
while docker-compose -f $DOCKER_FILE run --rm -u root cli wp --allow-root db check ; [ $? -ne 0 ]; do
5+
while docker compose -f $DOCKER_FILE run --rm -u root cli wp --allow-root db check ; [ $? -ne 0 ]; do
66
echo "Waiting for db to be ready... "
77
sleep 1
88
done
99
# install WP
10-
docker-compose -f $DOCKER_FILE run --rm -u root cli bash -c "/var/www/html/bin/cli-setup.sh"
11-
12-
13-
10+
docker compose -f $DOCKER_FILE run --rm -u root cli bash -c "/var/www/html/bin/cli-setup.sh"

0 commit comments

Comments
 (0)