Skip to content

Commit 479a557

Browse files
committed
Adapt RakeCompilerDock to work with podman
1 parent 4f38b78 commit 479a557

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Rakefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,11 @@ namespace :repackage do
4343

4444
# build all gem files
4545
%w[x86-mingw32 x64-mingw32].each do |plat|
46-
RakeCompilerDock.sh "bundle install --local && bundle exec rake native:#{plat} gem --trace", platform: plat
46+
RakeCompilerDock.sh(
47+
"bundle install --local && bundle exec rake native:#{plat} gem --trace",
48+
platform: plat,
49+
options: ['--privileged'], # otherwise the directory in the image is empty
50+
runas: false)
4751
end
4852
end
4953
end

0 commit comments

Comments
 (0)