Merge pull request #710 from basecamp/install-wget-or-curl

Install docker with curl or wget
This commit is contained in:
Donal McBreen
2024-03-07 11:01:30 +00:00
committed by GitHub
7 changed files with 26 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ class CommandsDockerTest < ActiveSupport::TestCase
end
test "install" do
assert_equal "curl -fsSL https://get.docker.com | sh", @docker.install.join(" ")
assert_equal "sh -c 'curl -fsSL https://get.docker.com || wget -O - https://get.docker.com || echo \"exit 1\"' | sh", @docker.install.join(" ")
end
test "installed?" do