Skip to content

Commit 2bbab8b

Browse files
committed
Update Docker syntax.
1 parent c4485aa commit 2bbab8b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
compose_command = docker-compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php81
1+
compose_command = docker compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php81
22

33
build:
4-
docker-compose build
4+
docker compose build
55

66
shell: build
77
$(compose_command) bash
88

99
destroy:
10-
docker-compose down -v
10+
docker compose down -v
1111

1212
composer: build
1313
$(compose_command) composer install

docker-compose.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
# Run "docker-compose down -v" to fully wipe everything and start over.
66
# Run "docker-compose run -u $(id -u ${USER}):$(id -g ${USER}) --rm php80 bash" to log into the container to run tests selectively.
77

8-
version: "3"
98
services:
109
php81:
1110
build: ./docker/php/81

0 commit comments

Comments
 (0)