Skip to content

Commit

Permalink
disable download sandbox feature for pacman 7
Browse files Browse the repository at this point in the history
  • Loading branch information
kopp committed Dec 22, 2024
1 parent f0894c7 commit 61b3257
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
FROM archlinux:latest

# Disable the sandbox for downloading
# This was added in pacman 7 but requires the kernel feature 'landlock' to be
# available, which is not available on current runners on github.
RUN sed -i 's,#DisableSandbox,DisableSandbox,' /etc/pacman.conf

# Install build dependencies.
# Note: update (-u) so that the newly installed tools use up-to-date packages.
# For example, gcc (in base-devel) fails if it uses an old glibc (from
Expand Down

0 comments on commit 61b3257

Please sign in to comment.