Skip to content

jncfa/live-ubuntu-from-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build your own Ubuntu Live Image with Docker

This is a example dockerfile that contains a multi-stage Buildkit build for a Ubuntu flavored image, supporting both arm64 and amd64 architectures.

The stages are:

  • init-rootfs-cacher: prepares the inital rootfs using debootstrap
  • init-rootfs: debootstrapped rootfs
  • lite-image: image that contains most packages, but no desktop environment
  • live-image: complete image with desktop environment, kernel, and installer
  • squashfs-builder: converts the live-image rootfs to a squashfs image
  • iso-builder: builds the live ISO image
  • iso-archive: dummy docker stage that just copies the iso to the result folder

Building

To build the image, run the following command:

bash build.sh

Credits

Useful resources for this project:

About

Build your own Ubuntu-flavoured Live Image with Docker! (supports both x86-64 and arm64!)

Resources

Stars

Watchers

Forks

Packages