PX4Docker/px4dockersetupubuntu22.sh

21 lines
974 B
Bash
Raw Permalink Normal View History

2023-06-12 12:26:42 -03:00
#!/bin/bash
echo 'normal ubuntu 22.04 install, no third party'
2023-07-05 14:20:25 -03:00
echo 'July 2023'
echo 'docker password: arrow'
2023-06-13 14:19:05 -03:00
sudo apt -y install git
sudo apt-get -y update
sudo apt -y upgrade
sudo apt-get -y install ca-certificates curl gnupg
2023-06-12 12:26:42 -03:00
sudo install -m 0755 -d /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo \
"deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
"$(. /etc/os-release && echo "$UBUNTU_CODENAME")" stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
2023-06-13 14:19:05 -03:00
sudo apt-get -y update
sudo apt -y upgrade
sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt-get -y install docker-compose
2023-07-05 14:20:25 -03:00
git clone https://git.spirirobotics.com/scorpio1/PX4Docker
cd PX4Docker && sudo docker compose up --build