Skip to content

Instantly share code, notes, and snippets.

@zzsnzmn
Last active April 3, 2018 01:40
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zzsnzmn/46994b83c8a51fcb4781 to your computer and use it in GitHub Desktop.
Save zzsnzmn/46994b83c8a51fcb4781 to your computer and use it in GitHub Desktop.
Dockerfile and run command for AVR programming with the monome

Monome Eurorack Firmware Dockerfile

This Dockerfile (and optional docker-compose file), can be used to compile the monome eurorack firmware on any host that can run Docker.

For installation help with docker check out https://docker.com, on OS X I recommend using docker-machine https://docs.docker.com/machine/.

FROM ubuntu:latest
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install make -y
RUN apt-get install git -y
RUN apt-get install unzip -y
RUN apt-get install vim -y
ADD avr32-gnu-toolchain-3.4.3.820-linux.any.x86_64.tar.gz /usr/local/
RUN chmod +x /usr/local/avr32-gnu-toolchain-linux_x86_64/bin/*
RUN echo 'export PATH=/usr/local/avr32-gnu-toolchain-linux_x86_64/bin:$PATH' >> ~/.bashrc
RUN echo 'export PS1="\W> "' >> ~/.bashrc
# Copy headers
ADD avr32-headers-6.2.0.742.zip /tmp/
RUN unzip /tmp/avr32-headers-6.2.0.742.zip -d /usr/local/avr32-gnu-toolchain-linux_x86_64/avr32/include
WORKDIR /root/workspace
View raw

(Sorry about that, but we can’t show files that are this big right now.)

View raw

(Sorry about that, but we can’t show files that are this big right now.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment