mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-25 10:44:59 +06:00
4882f7f16d
* Revert "Update build instructions and Dockerfile to download submodules"
This reverts commit 93210547bd
.
* Update build tools docs based on feedback
* Fix bad link in build tools docs
30 lines
531 B
Docker
30 lines
531 B
Docker
FROM debian:9
|
|
|
|
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 \
|
|
gcc-avr \
|
|
git \
|
|
libnewlib-arm-none-eabi \
|
|
software-properties-common \
|
|
unzip \
|
|
wget \
|
|
zip \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
ENV KEYBOARD=ergodox_ez
|
|
ENV KEYMAP=default
|
|
|
|
VOLUME /qmk_firmware
|
|
WORKDIR /qmk_firmware
|
|
COPY . .
|
|
|
|
CMD make $KEYBOARD:$KEYMAP
|