Update debian-stretch_pt1.sh
This commit is contained in:
@@ -3,15 +3,30 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
|
|
||||||
RELEASE=stable
|
RELEASE=stable
|
||||||
|
echo " "
|
||||||
|
echo "INFO ! Downloading other parts of the script if needed."
|
||||||
|
if [ -e /debian-stretch_pt2.sh ]
|
||||||
|
then
|
||||||
|
echo "INFO ! debian-stretch_pt2.sh found ... will not download."
|
||||||
|
else
|
||||||
|
echo " "
|
||||||
|
echo "WARNING ! debian-stretch_pt2.sh not found ... will download new copy."
|
||||||
|
wget --no-cache https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt2.sh -O /debian-stretch_pt2.sh
|
||||||
|
chmod +x debian-stretch_pt2.sh
|
||||||
|
fi
|
||||||
|
if [ -e /debian-stretch_pt3.sh ]
|
||||||
|
then
|
||||||
|
echo "INFO ! debian-stretch_pt3.sh found ... will not download."
|
||||||
|
else
|
||||||
|
echo " "
|
||||||
|
echo "WARNING ! debian-stretch_pt3.sh not found ... will download new copy."
|
||||||
|
wget --no-cache https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt3.sh -O /debian-stretch_pt3.sh
|
||||||
|
chmod +x debian-stretch_pt3.sh
|
||||||
|
fi
|
||||||
|
sleep 1
|
||||||
echo " "
|
echo " "
|
||||||
echo "INFO ! Getting system updates"
|
echo "INFO ! Getting system updates"
|
||||||
apt-get -y update
|
apt-get -y update
|
||||||
echo " "
|
|
||||||
echo "INFO ! Downloading other parts of the script."
|
|
||||||
wget --no-cache https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt2.sh -O /debian-stretch_pt2.sh
|
|
||||||
wget --no-cache https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt3.sh -O /debian-stretch_pt3.sh
|
|
||||||
chmod +x debian-stretch_pt2.sh debian-stretch_pt3.sh
|
|
||||||
sleep 1
|
sleep 1
|
||||||
echo " "
|
echo " "
|
||||||
echo "INFO ! Installing debootstrap ftp-upload bash dirmngr"
|
echo "INFO ! Installing debootstrap ftp-upload bash dirmngr"
|
||||||
@@ -19,7 +34,7 @@ apt-get install -y debootstrap ftp-upload bash dirmngr
|
|||||||
sleep 1
|
sleep 1
|
||||||
echo " "
|
echo " "
|
||||||
echo "INFO ! Downloading debian & selected packages"
|
echo "INFO ! Downloading debian & selected packages"
|
||||||
debootstrap --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --force-check-gpg --variant=minbase --components=main,contrib,non-free --include=dirmngr,apt-transport-https,wget,bzip2,bash,nano,ca-certificates,git,software-properties-common --arch=amd64 stable /debian-stretch http://deb.debian.org/debian/
|
debootstrap --keyring /etc/apt/trusted.gpg.d/debian-archive-stretch-stable.gpg --force-check-gpg --variant=minbase --components=main,contrib,non-free --include=dirmngr,apt-transport-https,wget,bzip2,bash,nano,ca-certificates,software-properties-common --arch=amd64 stable /debian-stretch http://deb.debian.org/debian/
|
||||||
echo " "
|
echo " "
|
||||||
echo "INFO ! Filesystem size uncompressed."
|
echo "INFO ! Filesystem size uncompressed."
|
||||||
du --human-readable --summarize debian-stretch
|
du --human-readable --summarize debian-stretch
|
||||||
|
|||||||
Reference in New Issue
Block a user