bionic defaults
This commit is contained in:
parent
e3aad5410f
commit
f475373462
|
@ -0,0 +1,5 @@
|
|||
FROM ubuntu:18.04
|
||||
|
||||
ADD ./setup.sh /tmp/setup.sh
|
||||
|
||||
RUN bash /tmp/setup.sh
|
|
@ -0,0 +1,4 @@
|
|||
default: test
|
||||
|
||||
test:
|
||||
docker build .
|
|
@ -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/*
|
Loading…
Reference in New Issue