Skip to content

Instantly share code, notes, and snippets.

@inokappa
Last active December 29, 2015 03:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inokappa/7610363 to your computer and use it in GitHub Desktop.
Save inokappa/7610363 to your computer and use it in GitHub Desktop.
kitchen-docker-0.10.0/lib/kitchen/driver/docker.rb
--- docker.rb.bk 2013-11-23 11:44:43.434756534 +0900
+++ docker.rb 2013-11-23 12:15:20.990677733 +0900
@@ -62,7 +62,7 @@
state[:container_id] = run_container(state) unless state[:container_id]
state[:hostname] = remote_socket? ? socket_uri.host : 'localhost'
state[:port] = container_ssh_port(state)
- wait_for_sshd(state[:hostname], :port => state[:port])
+ wait_for_sshd(state[:hostname], state[:port])
end
def destroy(state)
@@ -97,7 +97,7 @@
RUN dpkg-divert --local --rename --add /sbin/initctl
RUN ln -sf /bin/true /sbin/initctl
RUN apt-get update
- RUN apt-get install -y sudo openssh-server curl lsb-release
+ RUN apt-get install -y sudo openssh-server curl lsb-release wget
eos
when 'rhel', 'centos'
<<-eos
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment