Skip to content

bensuperpc/docker_from_scratch

Repository files navigation

docker_from_scratch

Build main images (Ubuntu, Debian, Alpine, ArchLinux) from scratch

forthebadge forthebadge forthebadge

Twitter Youtube

New Features !

  • Add Archlinux and improve alpine build
  • Add multiple version: Ubuntu 14.04 to 20.04, debian stretch to bullseye, alpine linux v3.11 to v3.14 ....

Install

You need Linux distribution like Ubuntu or Manjaoro

https://github.com/bensuperpc/docker_from_scratch.git
cd docker_from_scratch

Change USER variable in makefile to your name if you want to acces to build without root.

and some package:
docker debootstrap debian-archive-keyring ubuntu-keyring archlinux-keyring xz-utils tar wget curl make rsync (maybe others ?)

Usage

#f03c15 Warning: this git repository is for educational purposes, these images are not very optimized and do not have optimal security (as the root user has the password "root" ...)

Build ubuntu focal (20.04)
sudo make focal or sudo make ubuntu
Build debian bullseye (11.xx)
sudo make bullseye or sudo make debian
Build alpine linux (3.14.xx)
sudo make v3.14 or sudo make alpine
Build arch linux (3.14.xx)
sudo make archlinux
Clean build
sudo make clean

Todos

  • Write Tests
  • Continue dev. :D

More info :

License

MIT License

Free Software forever !

About

Build main images (Ubuntu, Debian, Alpine, ArchLinux) from scratch

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published