Skip to content

Commit

Permalink
add setup file for ubuntu builder
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpaul committed Jan 2, 2024
1 parent 345cf71 commit 6134c92
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions setup/setup-ubuntu_builder.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 2 : 46
# 3 : 28
# 4 : 05
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install -y ca-certificates curl gnupg
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

# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update

# Install git and docker
sudo apt-get install -y git docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

# Docker post install steps
sudo groupadd docker
sudo usermod -aG docker $USER

docker pull sofaframework/sofabuilder_ubuntu:builders_transition

0 comments on commit 6134c92

Please sign in to comment.