Simple docker environment to build lfs 2026
- Shell 98.9%
- Dockerfile 1.1%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| scripts | ||
| .gitignore | ||
| clean.sh | ||
| docker-compose.yml | ||
| Dockerfile | ||
| README.md | ||
| start-lfs-builder.sh | ||
Dockerized lfs 2026
Requirements
- Docker
- Docker compose
Usage
Initialize the dockerized environment :
./start-lfs-builder.sh
Initialize the host environment & build packages :
/scripts/init-lfs.sh
Clean-up and unmount loop devices :
/scripts/cleanup-loopdisk.sh
Clean-up docker images and containers :
su sh clean.sh
Troubleshooting
You can enter the container to troubleshoot any issues with the build process:
docker exec -it lfs-builder bash