Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evilfreelancer/docker-lfs-build
Linux From Scratch build environment
https://github.com/evilfreelancer/docker-lfs-build
build docker docker-compose lfs
Last synced: about 2 months ago
JSON representation
Linux From Scratch build environment
- Host: GitHub
- URL: https://github.com/evilfreelancer/docker-lfs-build
- Owner: EvilFreelancer
- Created: 2018-09-05T08:40:21.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-25T10:17:05.000Z (about 4 years ago)
- Last Synced: 2024-04-28T05:53:25.365Z (8 months ago)
- Topics: build, docker, docker-compose, lfs
- Language: Shell
- Homepage: https://hub.docker.com/r/evilfreelancer/docker-lfs-build/
- Size: 168 KB
- Stars: 23
- Watchers: 3
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux From Scratch builder in Docker container
This repository is a collection of scripts created especially to
automate the build process of Linux From Scratch (LFS).Current stable version of LFS is 8.3
## How to use
You need to install `docker` and `docker-compose` before you begin,
if you not have it yet.* https://docs.docker.com/install/#supported-platforms
* https://docs.docker.com/compose/install/### Normal usage
Clone from github and prepare the repository:
git clone https://github.com/EvilFreelancer/docker-lfs-build.git
cd docker-lfs-build
cp docker-compose.yml.dist docker-compose.ymlStart container:
docker-compose up -d
Then login to LFS container:
docker-compose exec lfs bash
Start building:
/book/book.sh
Result of building will be in `dist` folder.
### Download from Docker Hub
docker pull evilfreelancer/docker-lfs-build
### Create your custom `docker-compose.yml` file
```yml
version: '2'services:
lfs:
restart: unless-stopped
image: evilfreelancer/docker-lfs-build
volumes:
- ./dist:/dist
# You can set any entrypoint what you like, for example "inf sleep"
# by default here is ["/book/book.sh"]
entrypoint: ["sleep", "inf"]
```## Links
* [Unofficial LFS group in Discord](https://discord.gg/NUSW8yF)
* [Project on which this project is based](https://github.com/reinterpretcat/lfs)