Docker of AllTube Download
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
516 B

get_github_latest_version() {
VERSION=$(curl --silent "https://api.github.com/repos/$1/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/');
}
apk add curl wget
mkdir -p /tmp
get_github_latest_version "Rudloff/alltube"
wget https://github.com/Rudloff/alltube/releases/download/$VERSION/alltube-$VERSION.zip -O /tmp/alltube.zip
unzip -d /tmp/ /tmp/alltube.zip
wget https://install.phpcomposer.com/installer -O /tmp/alltube/composer-setup.php
mv /nginx.conf /tmp/alltube/
mv /init.sh /tmp/alltube/