Add $HOME/go/bin to $PATH for go (#106)
This commit is contained in:
@@ -55,6 +55,8 @@ for V in $(jq -r '.toolcache[] | select(.name == "go") | .versions[]' "/imagegen
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
sed "s|PATH=|PATH=$HOME/bin/go:|g" -i /etc/environment
|
||||||
|
|
||||||
printf "\n\t🐋 Cleaning image 🐋\t\n"
|
printf "\n\t🐋 Cleaning image 🐋\t\n"
|
||||||
apt-get clean
|
apt-get clean
|
||||||
rm -rf /var/cache/* /var/log/* /var/lib/apt/lists/* /tmp/* || echo 'Failed to delete directories'
|
rm -rf /var/cache/* /var/log/* /var/lib/apt/lists/* /tmp/* || echo 'Failed to delete directories'
|
||||||
|
|||||||
Reference in New Issue
Block a user