-
Notifications
You must be signed in to change notification settings - Fork 0
/
Containerfile
49 lines (44 loc) · 948 Bytes
/
Containerfile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
FROM debian:stable-slim
# Install QMK prerequisites
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
clang-format \
diffutils \
gcc \
unzip \
wget \
zip \
avr-libc \
binutils-arm-none-eabi \
gcc-arm-none-eabi \
libnewlib-arm-none-eabi \
avrdude \
teensy-loader-cli \
libhidapi-hidraw0 \
libusb-dev \
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 \
python3 \
python3-pip \
python3-venv \
git-core && \
apt-get clean && rm -rf /var/lib/apt/lists/*
ADD ./build-volume /build-volume
VOLUME ./build-volume
#WORKDIR /build-volume
COPY entry.sh .
RUN python3 -m venv /opt/venv
RUN . /opt/venv/bin/activate && \
pip install qmk
CMD /entry.sh