Skip to content

Commit

Permalink
Move from docker-compose (V1) to docker compose (V2) everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
neilcook committed Aug 6, 2024
1 parent d5238ec commit ef89127
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,9 @@ AC_ARG_ENABLE([docker],
*) AC_MSG_ERROR([bad value ${enableval} for --enable-docker]) ;;
esac],[docker=false])
AM_CONDITIONAL([WITH_DOCKER], [test x$docker = xtrue])
AC_CHECK_PROG(DOCKER, docker-compose, docker-compose)
AC_CHECK_PROG(DOCKER, docker, docker)
AS_IF([test x$docker = xtrue -a "x$DOCKER" = "x"], [
AC_MSG_ERROR([docker-compose not found, and is required])
AC_MSG_ERROR([docker not found, and is required])
])
AC_ARG_ENABLE([trackalert],
[ --enable-trackalert Build trackalert],
Expand Down
4 changes: 2 additions & 2 deletions docker/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DCMP = docker-compose
DCMP = docker compose
COMPOSE_SOURCE = docker-compose.yml logstash/Dockerfile logstash/config/logstash.conf logstash/templates/wforce_template.json regression/Dockerfile wforce_image/Dockerfile wforce_image/docker-entrypoint.sh wforce_image/wforce.conf.j2 wforce_image/create_config.sh
COMPOSE_TARGET = .docker
REGRESSION_SERVICE = regression
Expand Down Expand Up @@ -27,7 +27,7 @@ clean_elastic: stop
rm $(COMPOSE_TARGET)

clean_docker:
docker-compose down -v
$(DCMP) down -v

clean: clean_docker

Expand Down
4 changes: 2 additions & 2 deletions docker/wforce_image/Makefile.am
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DCMP = docker-compose
DCMP = docker compose
WFORCE_IMAGE_COMPOSE_TARGET = .wforce_image_docker
WFORCE_IMAGE_SERVICE = wforce_image
WFORCE_MINIMAL_IMAGE_SERVICE = wforce_minimal
Expand Down Expand Up @@ -27,7 +27,7 @@ kill:
$(DCMP) kill

clean_docker:
docker-compose down -v
$(DCMP) down -v

clean: clean_docker

Expand Down

0 comments on commit ef89127

Please sign in to comment.