https://github.com/raphaelcoeffic/build-opentx
Docker images to build OpenTX 2.4
https://github.com/raphaelcoeffic/build-opentx
Last synced: 5 months ago
JSON representation
Docker images to build OpenTX 2.4
- Host: GitHub
- URL: https://github.com/raphaelcoeffic/build-opentx
- Owner: raphaelcoeffic
- License: mit
- Created: 2021-04-10T09:33:26.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-18T16:39:50.000Z (about 5 years ago)
- Last Synced: 2025-04-09T02:49:15.288Z (about 1 year ago)
- Language: Dockerfile
- Size: 15.6 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker images to build OpenTX 2.4
[](https://github.com/raphaelcoeffic/build-opentx/actions/workflows/docker-image.yml)
## How to use
In order to build each image, just `cd` into the directory and execute `make`:
```
% cd dev && make
% cd commit-tests && make
```
### opentx-dev
The `opentx-dev` image is meant to be used in interactive mode:
```
% cd ~/src/opentx
% docker run -it --rm -v $(pwd):/src opentx-dev bash
root@02157a542d21:/# cd /src
```
Then you can just do whatever you need to do with your OpenTX source tree (compile, test, whatever).
### opentx-commit-tests
The `opentx-dev` image is meant to be run with specific `FLAVOR`, so you can if the commit tests on Travis would likely pass on github:
```
% docker run -it --rm -v $(pwd):/src -e FLAVOR=COLORLCD opentx-commit-tests
```
You can however run them all by using (beware, this is going to be a very long run):
```
% docker run -it --rm -v $(pwd):/src -e FLAVOR=ALL opentx-commit-tests
```
## Docker repositories
The `opentx-dev` and `opentx-commit-tests` image are hosted at Docker hub & Github Container Repository for your convenience.
Pulling from Docker hub is as simple as:
```
% docker pull pafleraf/opentx-dev
% docker pull pafleraf/opentx-commit-tests
```
Pulling from Github Container Repository uses a slightly longer command:
```
% docker pull ghcr.io/raphaelcoeffic/opentx-dev
% docker pull ghcr.io/raphaelcoeffic/opentx-commit-tests
```