sle2docker 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 52f030c558754b26f06443864880fa226359b260
4
- data.tar.gz: 827e4037e92603100e481dd942dd7e82609322d3
3
+ metadata.gz: 003b2cf7fe50c4f0c0343c9001871408ca40250b
4
+ data.tar.gz: 2bcebb608864099eb53090dfed2e27a5299acafc
5
5
  SHA512:
6
- metadata.gz: c2a843e32189912828859b833f69fdae734e77370df8cb4624114bf02c8c8fac76a04c9bc502b11186314d9af0b8fe9ab980a12f90a526232c1c22a0b82bd4c8
7
- data.tar.gz: c5594ea1d508872b930b111975bd6d878770b7c4942066d3bc577c6713757f54bf8fef31c5a22f61c21f2f19d17623060c3efe8d3e1867c54c3e645de5acfea3
6
+ metadata.gz: 955c42a3fef64be6211b2475866f88e1818df042a86d14b9ef8655b9d8935ba3c57e62c7881ac64d8fb71d09d5e9062844749475b5304b84561efeb537697274
7
+ data.tar.gz: 8d9f18f7cc45828eae8354256efd26cab5501eee63a2d90e68b14b835ee11201fbb94ad989a76416fc38f3b52597f487f5d13c4e3559680e9504986674e339c2
data/Changelog CHANGED
@@ -1,3 +1,10 @@
1
+ Tue Nov 10 17:58:30 CET 2015 Flavio Castelli <fcastelli@suse.com>
2
+
3
+ * Version 0.4.2:
4
+ - Fix wrong documentation inside of README.md
5
+ - Reduce the chances of timeout errors while activating Docker images
6
+ on VMs with bad I/O.
7
+
1
8
  Wed Jun 17 10:35:53 CEST 2015 Flavio Castelli <fcastelli@suse.com>
2
9
 
3
10
  * Version 0.4.1:
data/README.md CHANGED
@@ -103,7 +103,7 @@ This Dockerfile creates a simple Docker image based on SLE12:
103
103
  ```
104
104
  FROM suse/sles12:latest
105
105
 
106
- RUN zypper --gpg-auto-import-keys ref -s
106
+ RUN zypper ref -s
107
107
  RUN zypper -n in vim
108
108
  ```
109
109
 
@@ -117,18 +117,18 @@ FROM suse/sles12:latest
117
117
  ADD http://smt.test.lan/smt.crt /etc/pki/trust/anchors/smt.crt
118
118
  RUN update-ca-certificates
119
119
 
120
- RUN zypper --gpg-auto-import-keys ref -s
120
+ RUN zypper ref -s
121
121
  RUN zypper -n in vim
122
122
  ```
123
123
 
124
124
  ## Creating a custom SLE11SP3 image
125
125
 
126
- This Dockerfile creates a simple Docker image based on SLE12:
126
+ This Dockerfile creates a simple Docker image based on SLE11:
127
127
 
128
128
  ```
129
129
  FROM suse/sles11sp3:latest
130
130
 
131
- RUN zypper --gpg-auto-import-keys ref -s
131
+ RUN zypper ref -s
132
132
  RUN zypper -n in vim
133
133
  ```
134
134
 
@@ -142,7 +142,7 @@ FROM suse/sles11sp3:latest
142
142
  ADD http://smt.test.lan/smt.crt /etc/ssl/certs/smt.pem
143
143
  RUN c_rehash /etc/ssl/certs
144
144
 
145
- RUN zypper --gpg-auto-import-keys ref -s
145
+ RUN zypper ref -s
146
146
  RUN zypper -n in vim
147
147
  ```
148
148
 
data/bin/sle2docker CHANGED
@@ -2,6 +2,10 @@
2
2
  require_relative '../lib/sle2docker'
3
3
 
4
4
  begin
5
+ # raise excon timeout values, needed on some VMs with bad I/O
6
+ Excon.defaults[:write_timeout] = 1000
7
+ Excon.defaults[:read_timeout] = 1000
8
+
5
9
  Sle2Docker::Cli.start(ARGV)
6
10
  rescue Sle2Docker::TemplateNotFoundError => ex
7
11
  $stderr.printf(ex.message + "\n")
@@ -1,5 +1,5 @@
1
1
  # rubocop:disable Style/Documentation
2
2
 
3
3
  module Sle2Docker
4
- VERSION = '0.4.1'
4
+ VERSION = '0.4.2'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sle2docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flavio Castelli
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-17 00:00:00.000000000 Z
11
+ date: 2015-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: docker-api