mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-23 08:54:38 +00:00
07be7b8d69
Adding the CMD from @edasque in once more as it allows specifying more than one board via host ENV vars. Currently, the Dockerfile is hard-coded.
28 lines
620 B
Docker
28 lines
620 B
Docker
FROM debian:jessie
|
|
MAINTAINER Erik Dasque <erik@frenchguys.com>
|
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y build-essential \
|
|
gcc \
|
|
unzip \
|
|
wget \
|
|
zip \
|
|
gcc-avr \
|
|
binutils-avr \
|
|
avr-libc \
|
|
dfu-programmer \
|
|
dfu-util \
|
|
gcc-arm-none-eabi \
|
|
binutils-arm-none-eabi \
|
|
libnewlib-arm-none-eabi \
|
|
git \
|
|
software-properties-common \
|
|
avrdude \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV keyboard=ergodox
|
|
ENV subproject=ez
|
|
ENV keymap=default
|
|
|
|
VOLUME /qmk
|
|
WORKDIR /qmk
|
|
CMD make clean ; make keyboard=${keyboard} subproject=${subproject} keymap=${keymap}
|