kitchen-docker 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,12 +64,14 @@ module Kitchen
64
64
  <<-eos
65
65
  ENV DEBIAN_FRONTEND noninteractive
66
66
  RUN apt-get update
67
- RUN apt-get install -y sudo openssh-server
67
+ RUN apt-get install -y sudo openssh-server curl
68
+ RUN dpkg-divert --local --rename --add /sbin/initctl
69
+ RUN ln -s /bin/true /sbin/initctl
68
70
  eos
69
71
  when 'rhel', 'centos'
70
72
  <<-eos
71
73
  RUN yum clean all
72
- RUN yum install -y sudo openssh-server openssh-clients
74
+ RUN yum install -y sudo openssh-server openssh-clients curl
73
75
  RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
74
76
  RUN ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
75
77
  eos
@@ -80,7 +82,7 @@ module Kitchen
80
82
  username = config[:username]
81
83
  password = config[:password]
82
84
  base = <<-eos
83
- RUN mkdir /var/run/sshd
85
+ RUN mkdir -p /var/run/sshd
84
86
  RUN echo '127.0.0.1 localhost.localdomain localhost' >> /etc/hosts
85
87
  RUN useradd -d /home/#{username} -m -s /bin/bash #{username}
86
88
  RUN echo #{username}:#{password} | chpasswd
@@ -21,6 +21,6 @@ module Kitchen
21
21
  module Driver
22
22
 
23
23
  # Version string for Docker Kitchen driver
24
- DOCKER_VERSION = "0.1.1"
24
+ DOCKER_VERSION = "0.1.2"
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kitchen-docker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -137,7 +137,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
137
137
  requirements:
138
138
  - - ! '>='
139
139
  - !ruby/object:Gem::Version
140
- hash: 1503263599404936680
140
+ hash: 977071307405560001
141
141
  version: '0'
142
142
  segments:
143
143
  - 0
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  requirements:
147
147
  - - ! '>='
148
148
  - !ruby/object:Gem::Version
149
- hash: 1503263599404936680
149
+ hash: 977071307405560001
150
150
  version: '0'
151
151
  segments:
152
152
  - 0