source-to-image 1.1.4 (new formula)
Closes #8729. Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
This commit is contained in:
parent
0a26133a00
commit
0915980789
1 changed files with 20 additions and 0 deletions
20
Formula/source-to-image.rb
Normal file
20
Formula/source-to-image.rb
Normal file
|
@ -0,0 +1,20 @@
|
|||
class SourceToImage < Formula
|
||||
desc "Tool for building source and injecting into docker images"
|
||||
homepage "https://github.com/openshift/source-to-image"
|
||||
url "https://github.com/openshift/source-to-image.git",
|
||||
:tag => "v1.1.4",
|
||||
:revision => "870b2730357b2664598b47672a4840e3ebd31338"
|
||||
head "https://github.com/openshift/source-to-image.git"
|
||||
|
||||
depends_on "go" => :build
|
||||
|
||||
def install
|
||||
system "hack/build-go.sh"
|
||||
bin.install "_output/local/bin/darwin/amd64/s2i"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/s2i", "create", "testimage", testpath
|
||||
assert (testpath/"Dockerfile").exist?, "s2i did not create the files."
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue