diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-07-22 02:58:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-22 02:58:39 +0200 |
commit | 2bed835a331101c1ad70e97f8ce40bd85f546949 (patch) | |
tree | a43258e083941262134a10459d6901c0d32ddce6 /Dockerfile | |
parent | fc9f12864859dffe7a50dd509013ec916d338fd8 (diff) | |
parent | aa2a79bbfa5e5134fc83daf5732ca4774edf2dc2 (diff) | |
download | qmk_firmware-2bed835a331101c1ad70e97f8ce40bd85f546949.tar.gz qmk_firmware-2bed835a331101c1ad70e97f8ce40bd85f546949.tar.xz |
Merge pull request #525 from edasque/master
Added Docker as a simple way to build firmwares
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..96ace4ec6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,28 @@ +FROM debian:jessie +MAINTAINER Erik Dasque <erik@frenchguys.com> + +RUN apt-get update +RUN 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 + +RUN apt-get clean +RUN rm -rf /var/lib/apt/lists/* + +ENV keyboard=ergodox_ez +ENV keymap=default + +VOLUME /qmk +WORKDIR /qmk +CMD make clean ; make keyboard=${keyboard} keymap=${keymap}
\ No newline at end of file |