From 479a557564a62d697da22c3ba1b8e801e46fc5f8 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 23 Jan 2023 18:06:10 +0100 Subject: [PATCH] Adapt RakeCompilerDock to work with podman --- Rakefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 98ce22648..8859f56de 100644 --- a/Rakefile +++ b/Rakefile @@ -43,7 +43,11 @@ namespace :repackage do # build all gem files %w[x86-mingw32 x64-mingw32].each do |plat| - RakeCompilerDock.sh "bundle install --local && bundle exec rake native:#{plat} gem --trace", platform: plat + RakeCompilerDock.sh( + "bundle install --local && bundle exec rake native:#{plat} gem --trace", + platform: plat, + options: ['--privileged'], # otherwise the directory in the image is empty + runas: false) end end end