You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
|
|
|
|
|
|
|
|
echo 'console-setup console-setup/charmap47 select UTF-8' | debconf-set-selections
|
|
|
|
echo 'keyboard-configuration keyboard-configuration/variant select English (US)' | debconf-set-selections
|
|
|
|
echo 'keyboard-configuration kekeyboard-configuration keyboard-configuration/layout select English (US)' | debconf-set-selections
|
|
|
|
echo 'locales locales/default_environment_locale select en_US.UTF-8' | debconf-set-selections
|
|
|
|
echo 'locales locales/locales_to_be_generated multiselect en_US.UTF-8 UTF-8' | debconf-set-selections
|
|
|
|
|
|
|
|
apt-get -y install locales
|
|
|
|
|
|
|
|
# add docker key
|
|
|
|
apt-get -y install gnupg2
|
|
|
|
apt-key add docker.key
|
|
|
|
apt-get -y --purge autoremove gnupg2
|
|
|
|
|
|
|
|
echo 'deb https://download.docker.com/linux/debian stretch stable' > /etc/apt/sources.list.d/docker.list
|
|
|
|
apt-get update
|
|
|
|
|
|
|
|
apt-get -y install \
|
|
|
|
systemd \
|
|
|
|
dropbear
|