https://github.com/bensuperpc/docker_from_scratch
Build main images (Ubuntu, Debian, Alpine, ArchLinux) from scratch
https://github.com/bensuperpc/docker_from_scratch
alpine archlinux debian docker scratch ubuntu
Last synced: 5 months ago
JSON representation
Build main images (Ubuntu, Debian, Alpine, ArchLinux) from scratch
- Host: GitHub
- URL: https://github.com/bensuperpc/docker_from_scratch
- Owner: bensuperpc
- License: mit
- Created: 2021-06-20T10:06:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-20T19:02:37.000Z (almost 5 years ago)
- Last Synced: 2025-10-14T22:18:45.467Z (5 months ago)
- Topics: alpine, archlinux, debian, docker, scratch, ubuntu
- Language: Shell
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker_from_scratch
### _Build main images (Ubuntu, Debian, Alpine, ArchLinux) from scratch_
[](https://forthebadge.com) [](https://forthebadge.com) [](https://forthebadge.com)
[](https://img.shields.io/twitter/follow/Bensuperpc?style=social) [](https://img.shields.io/youtube/channel/subscribers/UCJsQFFL7QW4LSX9eskq-9Yg?style=social)
# 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
```sh
https://github.com/bensuperpc/docker_from_scratch.git
```
```sh
cd docker_from_scratch
```
Change USER variable in makefile to your name if you want to acces to build without root.
##### and some package:
```sh
docker debootstrap debian-archive-keyring ubuntu-keyring archlinux-keyring xz-utils tar wget curl make rsync (maybe others ?)
```
#### Usage
 `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)_
```sh
sudo make focal or sudo make ubuntu
```
##### _Build debian bullseye (11.xx)_
```sh
sudo make bullseye or sudo make debian
```
##### _Build alpine linux (3.14.xx)_
```sh
sudo make v3.14 or sudo make alpine
```
##### _Build arch linux (3.14.xx)_
```sh
sudo make archlinux
```
##### _Clean build_
```sh
sudo make clean
```
### Todos
- Write Tests
- Continue dev. :D
### More info :
- https://releases.ubuntu.com/
License
----
MIT License
**Free Software forever !**