Update 'firstboot.sh'

This commit is contained in:
Adolfo Delorenzo 2021-07-10 19:19:23 +02:00
parent d0b578bc2c
commit c08ab98f75
1 changed files with 4 additions and 2 deletions

View File

@ -1,8 +1,10 @@
#!/bin/bash
# Install Docker
#Initial packages
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
echo \
"deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \