Added installing docker
This commit is contained in:
@@ -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 <<EOF
|
||||
Types: deb
|
||||
URIs: https://download.docker.com/linux/debian
|
||||
Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||
Components: stable
|
||||
Signed-By: /etc/apt/keyrings/docker.asc
|
||||
EOF
|
||||
|
||||
sudo apt update
|
||||
|
||||
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
|
||||
##Open Dashlane website to download the firefox extension
|
||||
firefox 'https://addons.mozilla.org/en-US/firefox/addon/dashlane/'
|
||||
|
||||
echo "Setup Complete!"
|
||||
Reference in New Issue
Block a user