2019-01-11 07:33:09 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
# setup mirror source
|
|
|
|
MRUM="main restricted universe multiverse"
|
|
|
|
cat > /etc/apt/sources.list << EOF
|
|
|
|
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic $MRUM
|
|
|
|
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates $MRUM
|
|
|
|
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security $MRUM
|
|
|
|
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-backports $MRUM
|
|
|
|
EOF
|
|
|
|
|
|
|
|
# update
|
|
|
|
apt update && apt upgrade -y
|
|
|
|
|
|
|
|
# deliberate decision to use distro docker and not latest
|
|
|
|
PKGS="
|
|
|
|
apt-file
|
|
|
|
apt-utils
|
2019-01-23 16:26:12 +00:00
|
|
|
bash
|
2019-01-11 07:33:09 +00:00
|
|
|
bash-completion
|
|
|
|
build-essential
|
|
|
|
byobu
|
|
|
|
command-not-found
|
|
|
|
cryptsetup-bin
|
|
|
|
docker.io
|
|
|
|
gconf-service
|
|
|
|
gconf2
|
|
|
|
git
|
2019-01-11 08:17:24 +00:00
|
|
|
gnupg-agent
|
|
|
|
gnupg2
|
2019-01-11 07:33:09 +00:00
|
|
|
golang-go
|
|
|
|
gvfs-bin
|
2019-01-11 08:17:24 +00:00
|
|
|
haveged
|
2019-01-11 07:33:09 +00:00
|
|
|
htop
|
2019-01-11 08:17:24 +00:00
|
|
|
jq
|
2019-01-11 07:33:09 +00:00
|
|
|
libasound2
|
|
|
|
libcurl4
|
|
|
|
libgtk-3-0
|
|
|
|
libnotify4
|
|
|
|
libnss3
|
|
|
|
libx11-xcb1
|
|
|
|
libxkbfile1
|
|
|
|
libxss1
|
|
|
|
libxtst6
|
|
|
|
lsof
|
2019-01-11 08:17:24 +00:00
|
|
|
mosh
|
|
|
|
nmap
|
2019-01-11 07:33:09 +00:00
|
|
|
ntp
|
|
|
|
ntpdate
|
2019-01-11 08:17:24 +00:00
|
|
|
opensc
|
2019-01-11 07:33:09 +00:00
|
|
|
openssh-server
|
|
|
|
pbzip2
|
2019-01-11 08:17:24 +00:00
|
|
|
pcscd
|
|
|
|
pinentry-curses
|
2019-01-11 07:33:09 +00:00
|
|
|
pv
|
|
|
|
python-pip
|
|
|
|
python3-dev
|
|
|
|
python3-pip
|
2019-01-11 08:17:24 +00:00
|
|
|
rsync
|
2019-01-11 07:33:09 +00:00
|
|
|
ruby
|
2019-01-11 08:17:24 +00:00
|
|
|
scdaemon
|
|
|
|
socat
|
2019-01-11 07:33:09 +00:00
|
|
|
software-properties-common
|
|
|
|
strace
|
|
|
|
vim
|
|
|
|
xdg-utils
|
|
|
|
"
|
|
|
|
|
|
|
|
apt install -y $PKGS
|
|
|
|
|
|
|
|
# update apt-file cache
|
|
|
|
apt-file update
|