Update run.sh

This commit is contained in:
Felix Schulze 2023-02-22 09:57:59 +01:00 committed by GitHub
parent 6b10d0b024
commit e10fa36543
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

12
run.sh
View File

@ -6,12 +6,6 @@ cd /root
apt update && apt upgrade -y apt update && apt upgrade -y
apt install -y unattended-upgrades apt-config-auto-update apt install -y unattended-upgrades apt-config-auto-update
#docker
apt install -y curl
curl -fsSL https://get.docker.com -o get-docker.sh
sh ./get-docker.sh
touch docker-compose.yml
#update script #update script
cat >> update.sh << 'END' cat >> update.sh << 'END'
#!/bin/bash #!/bin/bash
@ -24,3 +18,9 @@ END
chmod +x update.sh chmod +x update.sh
ln -s /root/update.sh /etc/cron.weekly/update_docker ln -s /root/update.sh /etc/cron.weekly/update_docker
#docker
apt install -y curl
curl -fsSL https://get.docker.com -o get-docker.sh
sh ./get-docker.sh
touch docker-compose.yml