Skip to content

Commit fe9fa89

Browse files
authored
Merge pull request #309 from byplayer/bugfix/ubuntu18.04
mkdir /run/sshd in container to support ubuntu 18.04
2 parents e1d1d7b + 9c12a37 commit fe9fa89

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/kitchen/driver/docker.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def build_dockerfile
270270
RUN touch #{homedir}/.ssh/authorized_keys
271271
RUN chown #{username} #{homedir}/.ssh/authorized_keys
272272
RUN chmod 0600 #{homedir}/.ssh/authorized_keys
273+
RUN mkdir -p /run/sshd
273274
eos
274275
custom = ''
275276
Array(config[:provision_command]).each do |cmd|

0 commit comments

Comments
 (0)