2018-12-08 09:42:46 -08:00
|
|
|
FROM debian
|
2016-07-15 09:55:40 -07:00
|
|
|
|
2018-12-08 09:42:46 -08:00
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
2016-07-15 09:55:40 -07:00
|
|
|
avr-libc \
|
2018-12-08 09:42:46 -08:00
|
|
|
avrdude \
|
|
|
|
binutils-arm-none-eabi \
|
|
|
|
binutils-avr \
|
|
|
|
build-essential \
|
2016-07-15 09:55:40 -07:00
|
|
|
dfu-programmer \
|
|
|
|
dfu-util \
|
2018-12-08 09:42:46 -08:00
|
|
|
gcc \
|
2016-07-15 09:55:40 -07:00
|
|
|
gcc-arm-none-eabi \
|
2018-12-08 09:42:46 -08:00
|
|
|
gcc-avr \
|
2017-04-30 15:04:00 -07:00
|
|
|
git \
|
2018-12-08 09:42:46 -08:00
|
|
|
libnewlib-arm-none-eabi \
|
2017-05-14 18:08:53 -07:00
|
|
|
software-properties-common \
|
2018-12-08 09:42:46 -08:00
|
|
|
unzip \
|
|
|
|
wget \
|
|
|
|
zip \
|
2017-04-30 15:04:00 -07:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2016-07-15 09:55:40 -07:00
|
|
|
|
2018-12-08 09:42:46 -08:00
|
|
|
ENV KEYBOARD=ergodox_ez
|
|
|
|
ENV KEYMAP=default
|
|
|
|
|
|
|
|
VOLUME /qmk_firmware
|
|
|
|
WORKDIR /qmk_firmware
|
|
|
|
COPY . .
|
2016-07-15 09:55:40 -07:00
|
|
|
|
2018-12-08 09:42:46 -08:00
|
|
|
CMD make $KEYBOARD:$KEYMAP
|