Skip to content

Commit 69f5408

Browse files
authored
Allow executing without sudo (#113)
When release manager (gem owner) want to execute rake release, it is assumed to be executed via sudo. If owner belongs to docker group, it fails. Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
1 parent 92dec83 commit 69f5408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace :docker do
2222
distros.each do |distro|
2323
task distro do
2424
puts "testing on #{distro}"
25-
sh "sudo docker build . -f test/docker/Dockerfile.#{distro}"
25+
sh "docker build . -f test/docker/Dockerfile.#{distro}"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)