Prepare repository workspace for unprivileged Gitea checkout
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (push) Successful in 3m30s
Sized Linux checks / Linux AMD64 / Rust 1.88.0 (push) Successful in 3m30s
This commit is contained in:
@@ -5,6 +5,6 @@ RUN rustup component add rustfmt clippy
|
||||
COPY --from=node-runtime /usr/local/bin/node /usr/local/bin/node
|
||||
# A new runner workspace volume inherits this ownership. No setuid step or
|
||||
# Docker socket is needed in jobs, even with all capabilities dropped.
|
||||
RUN mkdir -p /workspace && chown 65532:65532 /workspace
|
||||
RUN mkdir -p /workspace/gamertan/sized && chown -R 65532:65532 /workspace
|
||||
USER 65532:65532
|
||||
WORKDIR /workspace
|
||||
|
||||
Reference in New Issue
Block a user