cluster-deployment/src/steps-config/20-docker.sh

14 lines
451 B
Bash
Executable file

#!/usr/bin/env bash
task_begin "Configuring Docker apt repository";
# curl -fsSL https://get.docker.com -o /tmp/get-docker.sh
# chmod +x /tmp/get-docker.sh
# sudo sh /tmp/get-docker.sh
echo "deb [arch=$(dpkg --print-architecture)] http://download.docker.com/linux/raspbian buster stable" >/etc/apt/sources.list.d/docker.list;
queue_apt_install docker-ce;
task_end "$?";
queue_preinstall_step "20-docker.sh";
queue_postinstall_step "20-docker.sh";