ci: Fix multi-runner image not running on cloud (#19287)

This commit is contained in:
Jaakko Husso
2025-09-08 11:55:38 +03:00
committed by GitHub
parent b166445275
commit 89b61ae2c1
2 changed files with 4 additions and 3 deletions

View File

@@ -110,8 +110,9 @@ COPY --from=node-alpine /usr/local/bin/npm /usr/local/bin/npm
COPY --from=node-alpine /usr/local/bin/npx /usr/local/bin/npx COPY --from=node-alpine /usr/local/bin/npx /usr/local/bin/npx
COPY --from=node-alpine /usr/local/lib/node_modules /usr/local/lib/node_modules COPY --from=node-alpine /usr/local/lib/node_modules /usr/local/lib/node_modules
# Node needs libstdc++ # libstdc++ is required by Node
RUN apk add --no-cache ca-certificates tini libstdc++ # libc6-compat is required by task-runner-launcher
RUN apk add --no-cache ca-certificates tini libstdc++ libc6-compat
RUN addgroup -g 1000 -S runner \ RUN addgroup -g 1000 -S runner \
&& adduser -u 1000 -S -G runner -h /home/runner -D runner && adduser -u 1000 -S -G runner -h /home/runner -D runner

View File

@@ -33,11 +33,11 @@ docker buildx build \
N8N_RUNNERS_ENABLED=true \ N8N_RUNNERS_ENABLED=true \
N8N_RUNNERS_MODE=external \ N8N_RUNNERS_MODE=external \
N8N_RUNNERS_AUTH_TOKEN=test \ N8N_RUNNERS_AUTH_TOKEN=test \
N8N_NATIVE_PYTHON_RUNNER=true \
N8N_LOG_LEVEL=debug \ N8N_LOG_LEVEL=debug \
pnpm start pnpm start
``` ```
### 4) Start the task runner container ### 4) Start the task runner container
``` ```