Last active
December 29, 2015 03:49
-
-
Save inokappa/7610363 to your computer and use it in GitHub Desktop.
kitchen-docker-0.10.0/lib/kitchen/driver/docker.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 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