forked from goobta/Ergodox-EZ-Setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
31 lines (28 loc) · 1.33 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM debian:buster-slim
MAINTAINER Ankur Gupta <github.com/agupta231>
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates \
gcc \
unzip \
wget \
zip \
gcc-avr \
binutils-avr \
avr-libc \
dfu-programmer \
dfu-util \
gcc-arm-none-eabi \
binutils-arm-none-eabi \
libnewlib-arm-none-eabi \
make \
git-core && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN cd / && \
git clone https://github.com/qmk/qmk_firmware.git && \
mkdir -p qmk_firmware/keyboards/ergodox_ez/keymaps/agupta && \
cd /qmk_firmware && \
make git-submodule
WORKDIR /qmk_firmware
CMD make ergodox_ez:agupta && \
cp ergodox_ez_agupta.hex keyboards/ergodox_ez/keymaps/agupta