Skip to content

Commit

Permalink
Fix runner-init.sh to support Podman in container
Browse files Browse the repository at this point in the history
  • Loading branch information
edewata committed Jun 11, 2024
1 parent 57cbbbb commit a5e513a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/bin/runner-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ OPTIONS+=(--hostname $HOSTNAME)
OPTIONS+=(--tmpfs /tmp)
OPTIONS+=(--tmpfs /run)
OPTIONS+=(-v $GITHUB_WORKSPACE:$SHARED)

# required to run Podman in container
OPTIONS+=(-v /var/lib/containers:/var/lib/containers)

OPTIONS+=(-e BUILDUSER_UID=$(id -u))
OPTIONS+=(-e BUILDUSER_GID=$(id -g))
OPTIONS+=(-e SHARED=$SHARED)
Expand Down

0 comments on commit a5e513a

Please sign in to comment.