Skip to content

Instantly share code, notes, and snippets.

@zzsnzmn

zzsnzmn/Dockerfile Secret

Last active Apr 3, 2018
Embed
What would you like to do?
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