Update debian-stretch_pt1.sh

This commit is contained in:
fithwum
2018-12-31 15:00:56 -08:00
parent ee803f092a
commit 3b4d47f735

View File

@@ -1,16 +1,16 @@
#!/bin/bash
# Copyright (c) 2018 fithwum
# All rights reserved
RELEASE=stable
echo "Getting needed things"
wget https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt3.sh
apt-get install -y debootstrap ftp-upload bash dirmngr
sleep 1
echo "Downloading distro of choice"
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 --arch=amd64 stable /debian-stretch http://deb.debian.org/debian/
sleep 1
du --human-readable --summarize debian-stretch
wget https://raw.githubusercontent.com/fithwum/files-for-dockers/master/base-build/debian-stretch_pt2.sh /debian-stretch/debian-stretch_pt2.sh
sleep 10
echo "Mounting folders for root"
mount --bind /dev debian-stretch/dev