There was an error while loading. Please reload this page.
1 parent 0f88da9 commit 5bae2cdCopy full SHA for 5bae2cd
1 file changed
Dockerfile
@@ -18,8 +18,8 @@ RUN curl -fsSL https://deb.nodesource.com/setup_24.x | bash - \
18
# pnpm (global, available to all users)
19
RUN npm install -g pnpm@latest
20
21
-# Runner user
22
-RUN useradd -m -s /bin/bash runner
+# Runner user (UID 1000 to match k8s securityContext)
+RUN useradd -m -s /bin/bash -u 1000 runner
23
24
# Rust (installed as runner user)
25
USER runner
@@ -35,7 +35,7 @@ RUN mkdir -p /actions-runner && cd /actions-runner \
35
&& ./bin/installdependencies.sh \
36
&& chown -R runner:runner /actions-runner
37
38
-COPY entrypoint.sh /actions-runner/entrypoint.sh
+COPY --chown=runner:runner entrypoint.sh /actions-runner/entrypoint.sh
39
RUN chmod +x /actions-runner/entrypoint.sh
40
41
0 commit comments