Merge pull request #191 from caiych/code-server-golang

Code server golang: install GCC as well because gopls depends on it
This commit is contained in:
aptalca
2021-03-16 22:28:44 -04:00
committed by GitHub
+3
View File
@@ -17,6 +17,9 @@ if [ -f "/golang/golang_${ARCH}.tar.gz" ]; then
echo "Installing golang"
tar xzf "/golang/golang_${ARCH}.tar.gz" -C /usr/local
rm -rf /golang
echo "Installing gcc, to make CGO work"
apt-get update && apt-get install -y gcc
else
echo "Golang already installed, skipping"
fi