nichijou/cicd/docker_targets/coreutils/bootstrap.sh

33 lines
523 B
Bash
Raw Normal View History

2019-12-13 19:44:34 -05:00
#!/bin/sh
DEBIAN=stretch
set -e
printf '%s\n' \
"deb http://ftp.debian.org/debian $DEBIAN-backports main" \
> /etc/apt/sources.list.d/$DEBIAN-backports.list
apt-get update
apt-get dist-upgrade -y
# backported cmake requires backported libuv1
apt-get install --no-install-recommends -y \
bash \
ca-certificates \
cmake/$DEBIAN-backports \
coreutils \
findutils \
git \
grep \
libuv1/$DEBIAN-backports \
make \
openssh-client \
rsync \
sed
apt-get autoremove -y
apt-get clean
rm -rf /var/lib/apt/lists/*