X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b73176eda2a83b7fc0170a5639ad036b1c897773..f2037533b62941df5c250e7b63e7646bff2a2aa2:/cookbooks/apt/recipes/docker.rb diff --git a/cookbooks/apt/recipes/docker.rb b/cookbooks/apt/recipes/docker.rb index f28c15b0b..7c8780779 100644 --- a/cookbooks/apt/recipes/docker.rb +++ b/cookbooks/apt/recipes/docker.rb @@ -19,9 +19,15 @@ include_recipe "apt" +docker_arch = if arm? + "arm64" + else + "amd64" + end + apt_repository "docker" do uri "https://download.docker.com/linux/ubuntu" - arch "amd64" + arch docker_arch components ["stable"] key "https://download.docker.com/linux/ubuntu/gpg" end