We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa52178 + d95b815 commit decc1f8Copy full SHA for decc1f8
root/etc/cont-init.d/98-golang
@@ -17,6 +17,9 @@ if [ -f "/golang/golang_${ARCH}.tar.gz" ]; then
17
echo "Installing golang"
18
tar xzf "/golang/golang_${ARCH}.tar.gz" -C /usr/local
19
rm -rf /golang
20
+
21
+ echo "Installing gcc, to make CGO work"
22
+ apt-get update && apt-get install -y gcc
23
else
24
echo "Golang already installed, skipping"
25
fi
0 commit comments