building 1.1.1 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/building +1 -1
- data/lib/building.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 604811eb8d69c52e19e231dcdb6717127a422583
|
4
|
+
data.tar.gz: 75b967700980016f7527641d69d2f6473e3c32c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab9436122492019b32012463d9aa5e36c25e439b4cb79ce019754b4997815a76e18b34197bd272a498d8c4de9a5bd473294c2316d14afdc702681710b1ffc54e
|
7
|
+
data.tar.gz: 2db47da4285b0aa0bc5cfa31f30a42f21abc9971e88b92c017c5b0bed74ad651961101e57281f39d8fd3496f1bbc7de47ab020860731af5daa084c5626a1a138
|
data/bin/building
CHANGED
@@ -13,7 +13,7 @@ opt_parser = OptionParser.new do |opts|
|
|
13
13
|
options[:fig] = fig
|
14
14
|
end
|
15
15
|
|
16
|
-
opts.on("-f", "--from FROM", "Change the
|
16
|
+
opts.on("-f", "--from FROM", "Change the Dockerfile's FROM (chose from: ctlc/buildstep:ubuntu13.10, ctlc/buildstep:ubuntu13.04, ctlc/buildstep:ubuntu12.10, ctlc/buildstep:ubuntu12.04)") do |from|
|
17
17
|
options[:from] = from
|
18
18
|
end
|
19
19
|
|
data/lib/building.rb
CHANGED
@@ -39,7 +39,7 @@ class Building
|
|
39
39
|
if @buildpack_url
|
40
40
|
dockerfile << <<-eof
|
41
41
|
RUN git clone --depth 1 #{@buildpack_url} /build/buildpacks/#{@buildpack_url.split("/").last.sub(".git","")}
|
42
|
-
RUN echo #{@buildpack_url}
|
42
|
+
RUN echo #{@buildpack_url} | cat - /build/buildpacks.txt > /tmp/out && mv /tmp/out /build/buildpacks.txt
|
43
43
|
eof
|
44
44
|
end
|
45
45
|
|