Skip to content

Commit 566c448

Browse files
author
Gonzalo Diaz
committed
[REFACTOR] [CONFIG] [DOCKER] docker-compose calls replaced by new "docker compose".
- Command not found: docker-compose after docker 4.32.0 update: https://stackoverflow.com/a/78788716/6366150
1 parent 768975d commit 566c448

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Makefile

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -97,35 +97,35 @@ update: dependencies outdated
9797
upgrade: update
9898

9999
compose/build: env
100-
docker-compose --profile lint build
101-
docker-compose --profile testing build
102-
docker-compose --profile production build
100+
${DOCKER_COMPOSE} --profile lint build
101+
${DOCKER_COMPOSE} --profile testing build
102+
${DOCKER_COMPOSE} --profile production build
103103

104104
compose/rebuild: env
105-
docker-compose --profile lint build --no-cache
106-
docker-compose --profile testing build --no-cache
107-
docker-compose --profile production build --no-cache
105+
${DOCKER_COMPOSE} --profile lint build --no-cache
106+
${DOCKER_COMPOSE} --profile testing build --no-cache
107+
${DOCKER_COMPOSE} --profile production build --no-cache
108108

109109
compose/lint/markdown: compose/build
110-
docker-compose --profile lint build
111-
docker-compose --profile lint run --rm algorithm-exercises-js-lint make lint/markdown
110+
${DOCKER_COMPOSE} --profile lint build
111+
${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-js-lint make lint/markdown
112112

113113
compose/lint/yaml: compose/build
114-
docker-compose --profile lint run --rm algorithm-exercises-js-lint make lint/yaml
114+
${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-js-lint make lint/yaml
115115

116116
compose/test/styling: compose/build
117-
docker-compose --profile lint run --rm algorithm-exercises-js-lint make test/styling
117+
${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-js-lint make test/styling
118118

119119
compose/test/static: compose/build
120-
docker-compose --profile lint run --rm algorithm-exercises-js-lint make test/static
120+
${DOCKER_COMPOSE} --profile lint run --rm algorithm-exercises-js-lint make test/static
121121

122122
compose/lint: compose/lint/markdown compose/lint/yaml compose/test/styling compose/test/static
123123

124124
compose/test: compose/build
125-
docker-compose --profile testing run --rm algorithm-exercises-js-test make test
125+
${DOCKER_COMPOSE} --profile testing run --rm algorithm-exercises-js-test make test
126126

127127
compose/run: compose/build
128-
docker-compose --profile production run --rm algorithm-exercises-js make run
128+
${DOCKER_COMPOSE} --profile production run --rm algorithm-exercises-js make run
129129

130130
all: env dependencies test
131131

0 commit comments

Comments
 (0)