Skip to content

Commit

Permalink
Make sure curl is installed in ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
guysoft committed Aug 23, 2022
1 parent 24c9036 commit f2828a4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/modules/docker/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ install_cleanup_trap
if [ "${BASE_DISTRO}" == "raspbian" ]; then
curl -sSL get.docker.com | sh
elif [ "${BASE_DISTRO}" == "ubuntu" ]; then
apt-get update
apt-get install -y curl
if [ "${BASE_ARCH}" == "aarch64" ] || [ "${BASE_ARCH}" == "arm64" ]; then
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/ubuntu disco stable"
Expand Down

0 comments on commit f2828a4

Please sign in to comment.