2019-03-17 17:36:59 +00:00
|
|
|
FROM debian:9
|
2016-07-15 12:55:40 -04:00
|
|
|
|
2018-12-08 18:42:46 +01:00
|
|
|
RUN apt-get update && apt-get install --no-install-recommends -y \
|
2016-07-15 12:55:40 -04:00
|
|
|
avr-libc \
|
2018-12-08 18:42:46 +01:00
|
|
|
avrdude \
|
|
|
|
binutils-arm-none-eabi \
|
|
|
|
binutils-avr \
|
|
|
|
build-essential \
|
2016-07-15 12:55:40 -04:00
|
|
|
dfu-programmer \
|
|
|
|
dfu-util \
|
2018-12-08 18:42:46 +01:00
|
|
|
gcc \
|
|
|
|
gcc-avr \
|
2017-04-30 15:04:00 -07:00
|
|
|
git \
|
2018-12-08 18:42:46 +01:00
|
|
|
libnewlib-arm-none-eabi \
|
2017-05-14 21:08:53 -04:00
|
|
|
software-properties-common \
|
2018-12-08 18:42:46 +01:00
|
|
|
unzip \
|
|
|
|
wget \
|
|
|
|
zip \
|
2017-04-30 15:04:00 -07:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2016-07-15 12:55:40 -04:00
|
|
|
|
2019-06-01 03:36:01 +01:00
|
|
|
# upgrade gcc-arm-none-eabi from the default 5.4.1 to 6.3.1 due to ARM runtime issues
|
|
|
|
RUN wget -q https://developer.arm.com/-/media/Files/downloads/gnu-rm/6-2017q2/gcc-arm-none-eabi-6-2017-q2-update-linux.tar.bz2 -O - | \
|
|
|
|
tar xj --strip-components=1 -C /
|
|
|
|
|
2018-12-08 18:42:46 +01:00
|
|
|
VOLUME /qmk_firmware
|
|
|
|
WORKDIR /qmk_firmware
|
|
|
|
COPY . .
|
2016-07-15 12:55:40 -04:00
|
|
|
|
2019-01-17 17:08:23 +00:00
|
|
|
CMD make all:default
|