Skip to content

Commit aabd4d6

Browse files
committed
Use docker compose instead of docker-compose.
Signed-off-by: David Venable <dlv@amazon.com>
1 parent 519126e commit aabd4d6

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

scripts/opendistro/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
# This is intended to be run inside the docker container as the command of the docker-compose.
3+
# This is intended to be run inside the docker container as the command of the docker compose.
44
set -ex
55

66
cd scripts/opendistro
77

8-
docker-compose up --exit-code-from logstash
8+
docker compose up --exit-code-from logstash

scripts/opendistro/docker-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ -f Gemfile.lock ]; then
99
fi
1010
cd scripts/opendistro;
1111

12-
docker-compose down
13-
docker-compose build
12+
docker compose down
13+
docker compose build

scripts/opensearch/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
# This is intended to be run inside the docker container as the command of the docker-compose.
3+
# This is intended to be run inside the docker container as the command of the docker compose.
44
set -ex
55

66
cd scripts/opensearch
77

8-
docker-compose up --exit-code-from logstash
8+
docker compose up --exit-code-from logstash

scripts/opensearch/docker-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ -f Gemfile.lock ]; then
99
fi
1010
cd scripts/opensearch;
1111

12-
docker-compose down
13-
docker-compose build
12+
docker compose down
13+
docker compose build

scripts/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This is intended to be run inside the docker container as the command of the docker-compose.
2+
# This is intended to be run inside the docker container as the command of the docker compose.
33

44
env
55

scripts/unit-test/docker-run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

3-
# This is intended to be run inside the docker container as the command of the docker-compose.
3+
# This is intended to be run inside the docker container as the command of the docker compose.
44
set -ex
55

66
cd scripts/unit-test;
7-
docker-compose up --exit-code-from logstash logstash
7+
docker compose up --exit-code-from logstash logstash

scripts/unit-test/docker-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ if [ -f Gemfile.lock ]; then
99
fi
1010

1111
cd scripts/unit-test;
12-
docker-compose down
13-
docker-compose build logstash
12+
docker compose down
13+
docker compose build logstash

0 commit comments

Comments
 (0)