32 lines
523 B
Bash
Executable file
32 lines
523 B
Bash
Executable file
#!/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/*
|