From 04bfeb8963e82e78ae303d17c4726fa1a6d0f5bc Mon Sep 17 00:00:00 2001 From: root Date: Mon, 2 Apr 2018 19:30:16 +0200 Subject: [PATCH] Script for post-debootstrap setup (WIP) --- post-debootstrap-installer.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 post-debootstrap-installer.sh diff --git a/post-debootstrap-installer.sh b/post-debootstrap-installer.sh new file mode 100644 index 0000000..5fff99f --- /dev/null +++ b/post-debootstrap-installer.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -e + + +apt-get -y install gnupg2 +apt-key add docker.key # TODO debootstrap has to push key in reach +echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list +apt-get update +apt-get -y --purge autoremove gnupg2 + +apt install \ + systemd \ + dropbear