summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
commit47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch)
tree65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /Dockerfile
parentac9b88e8ccbbf38762871504cd827ff0d941c426 (diff)
parent563ce3f225d981ce460c12ca5130dfe47af41df0 (diff)
downloadqmk_firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.tar.gz
qmk_firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.zip
Merge branch 'master' of https://github.com/qmk/qmk_firmware
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