https://github.com/entware/docker
Docker container to build Entware packages
https://github.com/entware/docker
buildroot docker entware
Last synced: about 1 year ago
JSON representation
Docker container to build Entware packages
- Host: GitHub
- URL: https://github.com/entware/docker
- Owner: Entware
- License: gpl-2.0
- Created: 2022-07-18T17:52:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-08T17:39:34.000Z (over 2 years ago)
- Last Synced: 2024-03-25T23:55:12.457Z (about 2 years ago)
- Topics: buildroot, docker, entware
- Language: Shell
- Homepage:
- Size: 21.5 KB
- Stars: 7
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Building packages from Docker
A highly reproducible way to build Entware packages. A plesant way for Docker-addicted persons:)
## Usage
Create Docker image tagged as `builder`:
```
git clone https://github.com/Entware/docker.git
docker build docker --pull --tag builder
```
Create Docker volume for compilation:
```
docker volume create entware-home
```
Run Docker containter named as `builder`:
```
docker run --rm --mount source=entware-home,target=/home/me --interactive --tty --name builder builder
```
Follow [this manual](https://github.com/Entware/Entware/wiki/Compile-packages-from-sources#clone-the-entware-git-repository) for further steps, all dependencies are pre-installed in Docker image.
If you need second (3rd or more) terminal, type:
```
docker exec --interactive --tty builder bash
```
Extract compiled packages:
```
docker cp builder:/home/me/Entware/bin .
```
The `Start-Builder.ps1` (Start-Builder.sh) and `propagate_env.sh` scripts are very optional. It used by one of maintainers to dive into chosen arch-specific container from Windows (or Linux) and deploy some basic environment inside. It creates all necessary Docker volumes at first start, checks out Entware sources and prompts user for further compilation/development.