Sha256: 377119f897357061e8762a4877c942dfb47bf4bad7f40f49f17ada53f72d2571

Contents?: true

Size: 557 Bytes

Versions: 4

Compression:

Stored size: 557 Bytes

Contents

module VagrantPlugins
  module DockerComposeProvisioner
    module Cap
      module Linux
        module DockerComposeInstall
          def self.docker_compose_install(machine, config)
            machine.communicate.tap do |comm|
              comm.sudo("curl -L https://github.com/docker/compose/releases/download/#{config.compose_version}/docker-compose-`uname -s`-`uname -m` > #{config.executable_install_path}")
              comm.sudo("chmod +x #{config.executable_install_path}")
            end
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-docker-compose-1.4.0 lib/vagrant-docker-compose/cap/linux/docker_compose_install.rb
vagrant-docker-compose-1.2.0 lib/vagrant-docker-compose/cap/linux/docker_compose_install.rb
vagrant-docker-compose-1.1.0 lib/vagrant-docker-compose/cap/linux/docker_compose_install.rb
vagrant-docker-compose-1.0.0 lib/vagrant-docker-compose/cap/linux/docker_compose_install.rb