dockerize 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/bin/dockerize-unpack +2 -1
- data/lib/dockerize/version.rb +1 -1
- data/templates/dockerfile.erb +5 -4
- data/templates/makefile_docker.erb +1 -0
- metadata +57 -27
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
NmQ0ZTAxMzJlNWRlMDRiNzhjMTdlYzJlYTVmNzk0MTJiMDQ3YjY3Zg==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
M2Y2MGY0MWRjNjFhMTBhODIwODhiYjI4Nzc3ZmMxNWFkNWYzZDg2Ng==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
Y2IzNzQwZTk2ODE0NWQ1Y2NmNmJkMWVlMzAyNTAzNjkxM2Y1MWMzNGRlYTU2
|
10
|
+
NjM1OWNlZTE0ZDY1MDAzMDgwYTg0NTY5ZDY0YzhmZjU1MTI5OTAzNjNjMmQz
|
11
|
+
NzA4ZTBhMGRjZGYyNmE3MTFiZTcwNTkwYzg1N2Q1NzAwYmU3OWE=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
OTI4NTVhMDAyNTFjYWE5YWY3OGQzOWE3YTZlOGU3Mjk5MDI1YmU1NDQyMzVj
|
14
|
+
NGM0YjhkYzgwMmM5Yzg2ZGNmOWMwYzc1MzAwNzZmZGI2OTg1N2I3YzJlZGVh
|
15
|
+
MTZmMmUxNzE4ZjQ2MWE3ZTllZjE2ODYwZGVkYzlmMTI3OTEzMjQ=
|
data/bin/dockerize-unpack
CHANGED
data/lib/dockerize/version.rb
CHANGED
data/templates/dockerfile.erb
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
<% self.filename = 'Dockerfile' -%>
|
2
2
|
<% self.executable = false -%>
|
3
|
-
# See http://docs.docker.io/en/latest/use/builder/ for more info
|
4
3
|
FROM <%= from %>
|
5
4
|
MAINTAINER <%= maintainer %>
|
6
5
|
|
6
|
+
# See http://docs.docker.io/en/latest/use/builder/ for more info
|
7
|
+
|
7
8
|
RUN apt-get update -yq
|
8
9
|
|
9
10
|
ADD ./.run /docker/run
|
10
11
|
|
11
|
-
EXPOSE 80 443
|
12
|
-
VOLUME["/net", "/bridge"]
|
12
|
+
EXPOSE 22 80 443
|
13
|
+
VOLUME ["/net", "/bridge"]
|
13
14
|
|
14
|
-
CMD["/docker/run/bridge"]
|
15
|
+
CMD ["/docker/run/bridge"]
|
@@ -46,6 +46,7 @@ clean:
|
|
46
46
|
|
47
47
|
.latest_container: pull
|
48
48
|
rm -f $@
|
49
|
+
$(DOCKER) rm $(shell docker ps -a -q)
|
49
50
|
$(DOCKER) build -t $(REGISTRY)/$(PROJECT):$(REV) $(BUILD_FLAGS) . | tee .container_output
|
50
51
|
awk '/^Successfully built/ { print $$NF }' .container_output | tail -1 > $@
|
51
52
|
|
metadata
CHANGED
@@ -1,71 +1,99 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dockerize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rafe Colton
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ! '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
15
22
|
version_requirements: !ruby/object:Gem::Requirement
|
16
23
|
requirements:
|
17
|
-
- - '>='
|
24
|
+
- - ! '>='
|
18
25
|
- !ruby/object:Gem::Version
|
19
26
|
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rspec
|
20
29
|
requirement: !ruby/object:Gem::Requirement
|
21
30
|
requirements:
|
22
|
-
- - '>='
|
31
|
+
- - ! '>='
|
23
32
|
- !ruby/object:Gem::Version
|
24
33
|
version: '0'
|
25
|
-
prerelease: false
|
26
34
|
type: :development
|
27
|
-
|
28
|
-
name: rspec
|
35
|
+
prerelease: false
|
29
36
|
version_requirements: !ruby/object:Gem::Requirement
|
30
37
|
requirements:
|
31
|
-
- - '>='
|
38
|
+
- - ! '>='
|
32
39
|
- !ruby/object:Gem::Version
|
33
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop
|
34
43
|
requirement: !ruby/object:Gem::Requirement
|
35
44
|
requirements:
|
36
|
-
- - '>='
|
45
|
+
- - ! '>='
|
37
46
|
- !ruby/object:Gem::Version
|
38
47
|
version: '0'
|
39
|
-
prerelease: false
|
40
48
|
type: :development
|
41
|
-
|
42
|
-
name: rubocop
|
49
|
+
prerelease: false
|
43
50
|
version_requirements: !ruby/object:Gem::Requirement
|
44
51
|
requirements:
|
45
|
-
- - '>='
|
52
|
+
- - ! '>='
|
46
53
|
- !ruby/object:Gem::Version
|
47
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: pry
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
58
|
requirements:
|
50
|
-
- - '>='
|
59
|
+
- - ! '>='
|
51
60
|
- !ruby/object:Gem::Version
|
52
61
|
version: '0'
|
53
|
-
prerelease: false
|
54
62
|
type: :development
|
55
|
-
|
56
|
-
name: colorize
|
63
|
+
prerelease: false
|
57
64
|
version_requirements: !ruby/object:Gem::Requirement
|
58
65
|
requirements:
|
59
|
-
- - '>='
|
66
|
+
- - ! '>='
|
60
67
|
- !ruby/object:Gem::Version
|
61
68
|
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: simplecov
|
62
71
|
requirement: !ruby/object:Gem::Requirement
|
63
72
|
requirements:
|
64
|
-
- - '>='
|
73
|
+
- - ! '>='
|
65
74
|
- !ruby/object:Gem::Version
|
66
75
|
version: '0'
|
76
|
+
type: :development
|
67
77
|
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: colorize
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
68
90
|
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
69
97
|
description: Dockerizes your application
|
70
98
|
email:
|
71
99
|
- r.colton@modcloth.com
|
@@ -112,26 +140,27 @@ homepage: https://github.com/modcloth-labs/dockerize
|
|
112
140
|
licenses:
|
113
141
|
- MIT
|
114
142
|
metadata: {}
|
115
|
-
post_install_message:
|
143
|
+
post_install_message:
|
116
144
|
rdoc_options: []
|
117
145
|
require_paths:
|
118
146
|
- lib
|
119
147
|
required_ruby_version: !ruby/object:Gem::Requirement
|
120
148
|
requirements:
|
121
|
-
- - '>='
|
149
|
+
- - ! '>='
|
122
150
|
- !ruby/object:Gem::Version
|
123
151
|
version: 1.9.3
|
124
152
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
125
153
|
requirements:
|
126
|
-
- - '>='
|
154
|
+
- - ! '>='
|
127
155
|
- !ruby/object:Gem::Version
|
128
156
|
version: '0'
|
129
157
|
requirements: []
|
130
|
-
rubyforge_project:
|
131
|
-
rubygems_version: 2.1.
|
132
|
-
signing_key:
|
158
|
+
rubyforge_project:
|
159
|
+
rubygems_version: 2.1.11
|
160
|
+
signing_key:
|
133
161
|
specification_version: 4
|
134
|
-
summary: Creates a templated Dockerfile and corresponding support files for easy deployment
|
162
|
+
summary: Creates a templated Dockerfile and corresponding support files for easy deployment
|
163
|
+
with docker.
|
135
164
|
test_files:
|
136
165
|
- spec/lib/dockerize/cli_spec.rb
|
137
166
|
- spec/lib/dockerize/config_spec.rb
|
@@ -139,3 +168,4 @@ test_files:
|
|
139
168
|
- spec/lib/dockerize/template_parser_spec.rb
|
140
169
|
- spec/lib/dockerize_spec.rb
|
141
170
|
- spec/spec_helper.rb
|
171
|
+
has_rdoc:
|