summaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile37
1 files changed, 19 insertions, 18 deletions
diff --git a/Dockerfile b/Dockerfile
index dfde33b5cc..8f78dc2bfe 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,28 +1,29 @@
-FROM debian:jessie
-MAINTAINER Erik Dasque <erik@frenchguys.com>
+FROM debian
-RUN apt-get update && apt-get install --no-install-recommends -y build-essential \
- gcc \
- unzip \
- wget \
- zip \
- gcc-avr \
- binutils-avr \
+RUN apt-get update && apt-get install --no-install-recommends -y \
avr-libc \
+ avrdude \
+ binutils-arm-none-eabi \
+ binutils-avr \
+ build-essential \
dfu-programmer \
dfu-util \
+ gcc \
gcc-arm-none-eabi \
- binutils-arm-none-eabi \
- libnewlib-arm-none-eabi \
+ gcc-avr \
git \
+ libnewlib-arm-none-eabi \
software-properties-common \
- avrdude \
+ unzip \
+ wget \
+ zip \
&& rm -rf /var/lib/apt/lists/*
-ENV keyboard=ergodox
-ENV subproject=ez
-ENV keymap=default
+ENV KEYBOARD=ergodox_ez
+ENV KEYMAP=default
+
+VOLUME /qmk_firmware
+WORKDIR /qmk_firmware
+COPY . .
-VOLUME /qmk
-WORKDIR /qmk
-CMD make clean ; make keyboard=${keyboard} subproject=${subproject} keymap=${keymap}
+CMD make $KEYBOARD:$KEYMAP