Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (16 sloc) 502 Bytes
# frozen_string_literal: true
Bankai::Docker.setup do
detect_package :database, :gem do |package|
if pg?
package.add_dependency 'postgresql-dev', runtime: false
package.add_runtime_dependency 'postgresql-libs'
end
if mysql?
package.add_dependency 'mariadb-dev', runtime: false
package.add_runtime_dependency 'mariadb-client-libs'
end
end
detect_package :sassc, :gem do |package|
package.add_runtime_dependency 'libstdc++' if gem?('sassc')
end
end
You can’t perform that action at this time.