diff --git a/linux/ubuntu/scripts/go.sh b/linux/ubuntu/scripts/go.sh index 6d055d5..c4c9850 100755 --- a/linux/ubuntu/scripts/go.sh +++ b/linux/ubuntu/scripts/go.sh @@ -55,6 +55,8 @@ for V in $(jq -r '.toolcache[] | select(.name == "go") | .versions[]' "/imagegen fi done +sed "s|PATH=|PATH=$HOME/bin/go:|g" -i /etc/environment + printf "\n\tšŸ‹ Cleaning image šŸ‹\t\n" apt-get clean rm -rf /var/cache/* /var/log/* /var/lib/apt/lists/* /tmp/* || echo 'Failed to delete directories'