File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
.github/scripts/ppc64le-ci/self-hosted-builder Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5353# Setup user and permissions
5454RUN useradd -c "Action Runner" -m runner && \
5555 usermod -L runner && \
56- echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner
57-
56+ echo "runner ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/runner && \
57+ groupadd podman || true && \
58+ usermod -aG podman runner
59+
60+ # Configure Podman cgroup manager
61+ RUN mkdir -p /etc/containers && \
62+ echo "[engine]\n cgroup_manager = \" cgroupfs\" " | sudo tee /etc/containers/containers.conf
63+
64+
5865# Add and configure GitHub Actions runner
5966ARG RUNNERREPO="https://github.com/actions/runner"
6067ARG RUNNERPATCH
You can’t perform that action at this time.
0 commit comments