Simple Base images for a true minimal Ubuntu 16.04 64Bits (version: 0.1.1)
This is the source files for:
iknite/xenial64
in atlas in bothlibvirt
andvirtualbox
(for now)iknite/xenial64
in docker hub
All the base images that I found always comes with something more than just the barebones.
This one didn't. It does not contain man pages, build-essential meta packages and nothing else
than openssh-server
.
Also make the common dpkg tweaks found in docker like faster installs, auto cache clean after installs and keep the index of the downloads.
- packer-io
- debootstrap
make
to run both builders (debootstrap ssh & packer).make vagrant
to locally install the boxes.make docker
to locally install the container.
There's no other way to launch it than sudo src/mkimage-docker.sh
Before run the command please make sure no VT-x
consumer are in the build machine. Otherwise virtualbox tries to
trick you to kernel disable it.
Running packer build -parallel=false src/packer.json
will succesfuly build.
iso_checksum = 23e97cd5d4145d4105fbf29878534049
iso_checksum_type = md5
iso_url = http://releases.ubuntu.com/16.04/ubuntu-16.04-server-amd64.iso
ssh_password = vagrant
ssh_username = vagrant
vm_name = xenial64
qemu
virtualbox-iso
- file: Copies
src/provision/apt.conf.d
to /tmp - shell:
update.sh
moves /tmp/docker-* to /etc/apt/apt.conf-d/, dist-upgrade the machine and reboot - shell:
install-vagrant.sh
ensures vagrant can run in this machine - shell:
install-virtualbox.sh
installs the basics for virtualbox.
3 clause BSD license