From f60444c789dce4abcc1b2c7d011f03b43870c494 Mon Sep 17 00:00:00 2001 From: nick Date: Wed, 10 Dec 2025 22:29:03 -0800 Subject: [PATCH] Added installing docker --- ubuntu_setup.sh | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) diff --git a/ubuntu_setup.sh b/ubuntu_setup.sh index 52e444e..8492dac 100755 --- a/ubuntu_setup.sh +++ b/ubuntu_setup.sh @@ -1,6 +1,7 @@ #!/bin/bash -ECHO This is a startus script for Ubuntu +echo This is a script for setting up my debain based linux system. +echo "Updating and Upgrading System" yes | sudo apt update && sudo apt upgrade && sudo apt install git yes | sudo apt install wget @@ -34,28 +35,52 @@ echo "Cleaning up" rm discord-0.0.15.deb # Download Steam -ECHO "Downloading Steam" +echo "Downloading Steam" wget https://steamcdn-a.akamaihd.net/client/installer/steam.deb echo "Steam downloaded" echo "Installing Steam" # Install Steam yes | sudo apt install steam.deb rm steam.deb -ECHO "Steam installed" +echo "Steam installed" # Install VS Code -ECHO "Installing VS Code" +echo "Installing VS Code" # Download VS Code wget -O code-latest.deb 'https://code.visualstudio.com/sha/download?build=stable&os=linux-deb-x64' # Install VS Code echo "Installing VS Code" sudo apt install ./code-latest.deb -ECHO "VS Code installed" +echo "VS Code installed" # Clean up echo "Cleaning up" rm code-latest.deb +echo "Installing Docker" + +# Add Docker's official GPG key: +sudo apt update +sudo apt install ca-certificates curl +sudo install -m 0755 -d /etc/apt/keyrings +sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc +sudo chmod a+r /etc/apt/keyrings/docker.asc + +# Add the repository to Apt sources: +sudo tee /etc/apt/sources.list.d/docker.sources <