mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 09:53:02 -04:00
Merge pull request #216 from linuxserver/code-server-golang-apt
standardize apt-get
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
|
apt-get update
|
||||||
@@ -19,7 +19,7 @@ if [ -f "/golang/golang_${ARCH}.tar.gz" ]; then
|
|||||||
rm -rf /golang
|
rm -rf /golang
|
||||||
|
|
||||||
echo "Installing gcc, to make CGO work"
|
echo "Installing gcc, to make CGO work"
|
||||||
apt-get update && apt-get install -y gcc
|
apt-get install -y gcc
|
||||||
else
|
else
|
||||||
echo "Golang already installed, skipping"
|
echo "Golang already installed, skipping"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user