Fixed FirstSetup and upgraded Alpine to 3.16 version
"FirstSetup": now installes go form official website CT ElkarbackupALP: New use old stable repo(3.15) for php7 since is is obeleted in 3.16 CT HeimdallCT: Switched to php8 and when git cloing using 2.x branch instead of master
This commit is contained in:
@@ -7,8 +7,14 @@ cd "$( cd "$( dirname "$0" )" &> /dev/null && pwd )/.."
|
||||
echo "The script will now install required dependencies"
|
||||
read -r -s -p $'Press enter to continue, or ctrl+c to quit'
|
||||
#Install software dependencies
|
||||
apt install ca-certificates golang git make debootstrap curl gcc libc-dev nano gnupg2 rsync xz-utils --no-install-recommends -y
|
||||
apt install ca-certificates git make debootstrap curl gcc libc-dev nano gnupg2 rsync xz-utils --no-install-recommends -y
|
||||
|
||||
#Install go
|
||||
rm -rf /usr/local/go
|
||||
curl -L https://go.dev/dl/go$(curl -Ls https://go.dev/VERSION?m=text |sed 's/go//g').linux-amd64.tar.gz -o /tmp/go.tar.gz
|
||||
tar -C /usr/local -xzf /tmp/go.tar.gz
|
||||
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.profile
|
||||
export PATH=$PATH:/usr/local/go/bin
|
||||
|
||||
#Get Source for DistroBuilder
|
||||
git clone https://github.com/lxc/distrobuilder distrobuilderSRC
|
||||
|
||||
Reference in New Issue
Block a user