docker@1.71: import from homebrew/versions.
This commit is contained in:
parent
87ba2f38f1
commit
c9e51601ba
1 changed files with 30 additions and 0 deletions
30
Formula/docker@1.71.rb
Normal file
30
Formula/docker@1.71.rb
Normal file
|
@ -0,0 +1,30 @@
|
|||
class DockerAT171 < Formula
|
||||
desc "The Docker framework for containers"
|
||||
homepage "https://www.docker.com/"
|
||||
url "https://github.com/docker/docker.git",
|
||||
:tag => "v1.7.1",
|
||||
:revision => "786b29d4db80a6175e72b47a794ee044918ba734"
|
||||
|
||||
keg_only :versioned_formula
|
||||
|
||||
option "without-completions", "Disable bash/zsh completions"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
ENV["AUTO_GOPATH"] = "1"
|
||||
ENV["DOCKER_CLIENTONLY"] = "1"
|
||||
|
||||
system "hack/make.sh", "dynbinary"
|
||||
bin.install "bundles/#{version}/dynbinary/docker-#{version}" => "docker"
|
||||
|
||||
if build.with? "completions"
|
||||
bash_completion.install "contrib/completion/bash/docker"
|
||||
zsh_completion.install "contrib/completion/zsh/_docker"
|
||||
end
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/docker", "--version"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue