Last active
July 7, 2023 21:06
-
-
Save LorhanSohaky/5c7d246c7cd61a4ef851e2ce209e79b9 to your computer and use it in GitHub Desktop.
dev-container-proxmox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instala auxiliares | |
sudo su -c "apt update && apt upgrade -y && apt install -y curl unzip vim make htop net-tools jq" | |
# Instala dependências dev | |
sudo su -c "apt install -y gcc build-essential zlib1g-dev libffi-dev libssl-dev libbz2-dev libreadline-dev libsqlite3-dev liblzma-dev" | |
# Install docker | |
sudo su -c "curl -sSL https://get.docker.com/ | sh" | |
sudo su -c "usermod -aG docker $USER" | |
echo "Restart PC" | |
# Instala aws cli | |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" | |
unzip awscliv2.zip | |
sudo su -c "./aws/install" | |
mkdir /home/$USER/.aws | |
# Instala aws sam cli | |
curl -L "https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip" -o "aws-sam-cli.zip" | |
unzip aws-sam-cli.zip -d sam-installation | |
sudo su -c "./sam-installation/install" | |
# Instala asdf | |
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0 | |
echo '. "$HOME/.asdf/asdf.sh"' >> /home/$USER/.bashrc | |
echo '. "$HOME/.asdf/completions/asdf.bash"' >> /home/$USER/.bashrc | |
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git | |
asdf plugin-add poetry https://github.com/asdf-community/asdf-poetry.git | |
asdf install poetry 1.5.1 | |
asdf plugin-add python | |
asdf install python 3.10.0 | |
echo 'poetry 1.5.1' >> /home/$USER/.tool-versions | |
echo 'python 3.10.0' >> /home/$USER/.tool-versions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment