summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorErik Dasque <erik@frenchguys.com>2016-07-15 12:55:40 -0400
committerErik Dasque <erik@frenchguys.com>2016-07-15 12:55:40 -0400
commit0446263935e418537966bc64bfd1c1cdb5206583 (patch)
tree5441accf769f53e2d924bdfd8f394032817d081c /Dockerfile
parent9ecf9073b96799e52a1f1c0d35b57177382902ce (diff)
Adding Docker build system & documentation
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000000..96ace4ec6b
--- /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