fix(ci-runner): install docker compose v2 plugin correctly
CI / lint-and-format (push) Successful in 36s
CI / changeset-check (push) Successful in 27s
CI / unit-tests (push) Successful in 37s
CI / component-tests (push) Failing after 25s

The docker.io apt package doesn't ship the compose plugin, and the
npm docker-compose package is an unrelated legacy tool that doesn't
provide the 'docker compose' CLI subcommand. Install the official
compose v2 binary as a docker CLI plugin instead.
This commit is contained in:
2026-08-02 17:40:27 +02:00
parent dd76091a54
commit 5792a1581b
+8 -2
View File
@@ -1,9 +1,15 @@
FROM node:22-bullseye
RUN apt-get update \
&& apt-get install -y docker.io \
&& apt-get install -y docker.io curl \
&& rm -rf /var/lib/apt/lists/*
RUN corepack enable
RUN npm install -g docker-compose
# Install Docker Compose V2 as a CLI plugin (docker.io package does not
# include it, and the npm "docker-compose" package is an unrelated
# legacy wrapper that does not provide the `docker compose` subcommand).
RUN mkdir -p /usr/libexec/docker/cli-plugins \
&& curl -SL "https://github.com/docker/compose/releases/latest/download/docker-compose-linux-x86_64" \
-o /usr/libexec/docker/cli-plugins/docker-compose \
&& chmod +x /usr/libexec/docker/cli-plugins/docker-compose