kontena-cli 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kontena/cli/apps/docker_helper.rb +5 -5
- data/lib/kontena/cli/services/services_helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d2886c09f3faeaa711f9fb89e078cd06dd9b035
|
4
|
+
data.tar.gz: 0c012c5a9c66d1f600f74ec65d477395cd394e0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9799fc52f4c464b8f9adea3e77abe4d4bafb00fadbd205643ab32015c2711010650ac559fe37c275327d4b2a86e48304dad1e09d557d8670750306b85b86fa64
|
7
|
+
data.tar.gz: 311c7b76896963a5d1aca5d17d8c460da41b660377d9914e20e48ea1b712d837c1c4dd450480a3858d949f37ddcac73e07e4f02250bfa00751357a04e62dd615
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.1
|
@@ -26,11 +26,11 @@ module Kontena::Cli::Apps
|
|
26
26
|
|
27
27
|
|
28
28
|
def build_docker_image(name, path, dockerfile, no_cache=false)
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
29
|
+
cmd = ["docker build -t #{name}"]
|
30
|
+
cmd << "-f #{File.join(File.expand_path(path), dockerfile)}" if dockerfile != "Dockerfile"
|
31
|
+
cmd << "--no-cache" if no_cache
|
32
|
+
cmd << path
|
33
|
+
ret = system(cmd.join(' '))
|
34
34
|
abort("Failed to build image #{name.colorize(:cyan)}") unless ret
|
35
35
|
ret
|
36
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kontena-cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kontena, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|