Skip to content

Commit 32effb7

Browse files
manylinux image build
1 parent 16889cf commit 32effb7

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/scripts/ppc64le-ci/self-hosted-builder/actions-runner.Dockerfile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,15 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
5353
# Setup user and permissions
5454
RUN 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]\ncgroup_manager = \"cgroupfs\"" | sudo tee /etc/containers/containers.conf
63+
64+
5865
# Add and configure GitHub Actions runner
5966
ARG RUNNERREPO="https://github.com/actions/runner"
6067
ARG RUNNERPATCH

0 commit comments

Comments
 (0)