Update 'firstboot.sh'

This commit is contained in:
Adolfo Delorenzo 2021-07-10 19:19:23 +02:00
parent d0b578bc2c
commit c08ab98f75

View File

@ -1,8 +1,10 @@
#!/bin/bash #!/bin/bash
# Install Docker #Initial packages
apt update apt update
apt install curl apt-transport-https ca-certificates curl gnupg lsb-release -y apt install curl apt-transport-https ca-certificates gnupg lsb-release -y
# Install Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo \ echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \