#!/bin/sh -e apt-get update apt-get upgrade apt-get install -y curl build-essential cd /root curl -L "https://go.dev/dl/go1.21.5.linux-amd64.tar.gz" -o go.tar.gz cd /usr/local tar xf /root/go.tar.gz rm -f /root/go.tar.gz apt-get remove --purge -y curl apt-get autoremove --purge -y apt-get clean rm -rf /var/lib/apt/lists/*