X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/b73176eda2a83b7fc0170a5639ad036b1c897773..eb10ee11cf967f641485a4124c337f52ce6b9939:/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