Skip to content

Instantly share code, notes, and snippets.

@LorhanSohaky
Last active July 7, 2023 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LorhanSohaky/5c7d246c7cd61a4ef851e2ce209e79b9 to your computer and use it in GitHub Desktop.
Save LorhanSohaky/5c7d246c7cd61a4ef851e2ce209e79b9 to your computer and use it in GitHub Desktop.
dev-container-proxmox
# 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