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
git clone git@github.com:prikhi/avr-toolchain-docker.git
cd avr-toolchain
docker build --rm -t lysergia/avr-toolchain:latest .docker run --rm --privileged -v $(pwd):/build lysergia/avr-toolchain avr-gcc -versionBellow you can find recommended simple one-line installer that pulls the newest docker-image and installs avr-toolchain script into "/usr/bin/" directory.
curl https://raw.githubusercontent.com/prikhi/avr-toolchain-docker/master/install.sh | bash -s --- Install toolchain using recommended simple one-line installer.
- Use super command avr-toolchain for all toolchain binaries.
- Execute toolchain binaries inside your working/project directory.
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