https://github.com/prikhi/avr-toolchain-docker
Docker Image with AVR GCC, Git, & Make
https://github.com/prikhi/avr-toolchain-docker
avr avr-gcc docker-image
Last synced: 10 months ago
JSON representation
Docker Image with AVR GCC, Git, & Make
- Host: GitHub
- URL: https://github.com/prikhi/avr-toolchain-docker
- Owner: prikhi
- License: bsd-3-clause
- Created: 2021-06-05T07:09:12.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-05T07:28:39.000Z (over 4 years ago)
- Last Synced: 2025-01-17T01:36:36.033Z (11 months ago)
- Topics: avr, avr-gcc, docker-image
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/lysergia/avr-toolchain
- Size: 40.5 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AVR Toolchain Docker Image
Lightweight docker image built on top of **alpine:3.13** with installed AVR
toolchain and few additional tools:
* AVR8 toolchain (gcc-avr, avr-binutils)
* avrdude
* make
* cmake
* git
[View on DockerHub](https://hub.docker.com/r/lysergia/avr-toolchain)
## Building image locally
```bash
git clone git@github.com:prikhi/avr-toolchain-docker.git
cd avr-toolchain
docker build --rm -t lysergia/avr-toolchain:latest .
```
## An example of running toolchain binary
```bash
docker run --rm --privileged -v $(pwd):/build lysergia/avr-toolchain avr-gcc -version
```
## Installing
Bellow you can find recommended simple one-line installer that pulls the newest
docker-image and installs **avr-toolchain** script into "/usr/bin/" directory.
```bash
curl https://raw.githubusercontent.com/prikhi/avr-toolchain-docker/master/install.sh | bash -s --
```
## Getting started
1. Install toolchain using recommended simple one-line installer.
2. Use super command **avr-toolchain** for all toolchain binaries.
3. Execute toolchain binaries inside your working/project directory.
## Examples
```bash
cd your-project/
avr-toolchain avr-gcc --version
avr-toolchain make -version
avr-toolchain avrdude --help
avr-toolchain cmake -version
avr-toolchain make && make flash
```