bionic defaults
This commit is contained in:
parent
e3aad5410f
commit
f475373462
5
bionic-defaults/Dockerfile
Normal file
5
bionic-defaults/Dockerfile
Normal 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
4
bionic-defaults/Makefile
Normal file
@ -0,0 +1,4 @@
|
||||
default: test
|
||||
|
||||
test:
|
||||
docker build .
|
38
bionic-defaults/setup.sh
Normal file
38
bionic-defaults/setup.sh
Normal 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/*
|
Loading…
Reference in New Issue
Block a user