bionic defaults

This commit is contained in:
Jeffrey Paul 2018-10-01 22:47:10 -07:00
parent e3aad5410f
commit f475373462
Signed by: sneak
GPG Key ID: 052443F4DF2A55C2
3 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,5 @@
FROM ubuntu:18.04
ADD ./setup.sh /tmp/setup.sh
RUN bash /tmp/setup.sh

4
bionic-defaults/Makefile Normal file
View File

@ -0,0 +1,4 @@
default: test
test:
docker build .

38
bionic-defaults/setup.sh Normal file
View File

@ -0,0 +1,38 @@
#!/bin/bash
apt update
apt -y install lsb-release
PKGS="
apt-transport-https
byobu
command-not-found
cryptsetup-bin
iptraf-ng
jq
less
lsof
runit
runit-systemd
daemontools
vim
wget
zfsutils-linux
zfs-auto-snapshot
"
MRUM="main restricted universe multiverse"
URL="mirror://mirrors.ubuntu.com/mirrors.txt"
cat > /etc/apt/sources.list <<__EOF__
deb $URL $(lsb_release -cs) $MRUM
deb $URL $(lsb_release -cs)-updates $MRUM
deb $URL $(lsb_release -cs)-backports $MRUM
deb $URL $(lsb_release -cs)-security $MRUM
__EOF__
export DEBIAN_FRONTEND=noninteractive
apt update
apt -y install $PKGS
rm -rf /var/lib/apt/lists/*