blob: 76c919546c81160bcb07704743d97dc2aadecd4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
RSpec.configure do |config|
config.before(:suite) do
Pathname.pwd.join('src').each_child do |file|
next unless file.directory?
docker = Docker.new(pwd: file)
docker_image = "#{file.basename.to_s}:latest"
docker.build(tag: docker_image)
end
end
end
|