Skip to content

Commit

Permalink
Revert "remove qemu from dockerfile completely"
Browse files Browse the repository at this point in the history
This reverts commit 60245f5.
  • Loading branch information
Silvija Tovernic committed Sep 21, 2024
1 parent 397471f commit 7c68c76
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/docker/image-factory-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUN apt-get update -y && \
libcap2-bin \
lsb-release \
podman \
qemu \
qemu-user-static \
slirp4netns \
software-properties-common \
sudo \
Expand Down
2 changes: 2 additions & 0 deletions images/docker/image-factory-runner/files/gha
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
gha ALL=(ALL) NOPASSWD: /bin/umount /.pat
gha ALL=(ALL) NOPASSWD: /bin/rmdir /.pat
gha ALL=(ALL) NOPASSWD: /usr/sbin/update-binfmts --enable qemu-aarch64
gha ALL=(ALL) NOPASSWD: /usr/sbin/update-binfmts --enable qemu-arm
gha ALL=(ALL) NOPASSWD:ALL # TODO: remove this line once development is done
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ echo "Deleting PAT token from runner filesystem..."
sudo umount /.pat
sudo rmdir /.pat

# # QEMU setup
# sudo update-binfmts --enable qemu-aarch64
# sudo update-binfmts --enable qemu-arm

echo "Connect runner to GitHub:"
cd actions-runner
./config.sh \
Expand Down

0 comments on commit 7c68c76

Please sign in to comment.