Skip to content

iknite/xenial64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xenial64 images

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 both libvirt and virtualbox (for now)
  • iknite/xenial64 in docker hub

Rationale

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.

Requirements

  • packer-io
  • debootstrap

Usage

  • make to run both builders (debootstrap+ssh & packer).
  • make vagrant to locally install the boxes.
  • make docker to locally install the container.

Manual Usage

Docker

There's no other way to launch it than sudo src/mkimage-docker.sh

Packer

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.

Optional variables and their defaults:

  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

Builders:

qemu
virtualbox-iso

Provisioners:

  • 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.

License

3 clause BSD license

About

Simple Base image for a true minimal Ubuntu 16.04 64Bits

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published