build(docker): switch to docker internal compose
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Feb 2023 13:40:41 +0000 (14:40 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sat, 25 Feb 2023 13:40:41 +0000 (14:40 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
docker/Makefile

index 388c705cf7b467815f533de532a8fbeb747e4664..d4be3df46b80ef943563d4d811b1fa958d7ba102 100644 (file)
@@ -19,10 +19,10 @@ ifeq '$(SUBMODULES_INIT)' 'true'
 endif
 
 $(NAME): $(submodules-init)
-       docker-compose -p $(PROJECT_NAME) up -d
+       docker compose -p $(PROJECT_NAME) up -d
 
 $(NAME)-force: $(submodules-init)
-       docker-compose -p $(PROJECT_NAME) up -d --build --force-recreate
+       docker compose -p $(PROJECT_NAME) up -d --build --force-recreate
 
 all: $(NAME)
 
@@ -30,7 +30,7 @@ clean-images:
        -docker rmi $(PROJECT_NAME)-$(NAME)
 
 clean-containers:
-       -docker-compose -p $(PROJECT_NAME) down
+       -docker compose -p $(PROJECT_NAME) down
 
 clean: clean-containers clean-images