forked from kiibohd/controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.archlinux
30 lines (22 loc) · 907 Bytes
/
Dockerfile.archlinux
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
FROM base/archlinux
RUN pacman -Sy --noconfirm reflector rsync curl
RUN reflector --verbose --country 'United States' -l 5 --sort rate --save /etc/pacman.d/mirrorlist
RUN pacman -Sy --noconfirm \
git cmake ctags tmux libusb python python-pillow ninja dfu-util gcc gdb \
arm-none-eabi-binutils arm-none-eabi-gcc arm-none-eabi-gdb arm-none-eabi-newlib \
clang lsb-release && \
rm -rf /var/cache/pacman/pkg
VOLUME /controller
WORKDIR /controller/Keyboards
CMD /bin/bash
# 1. Build the image after the initial cloning of this repo
# docker build -f Dockerfile.archlinux -t controller.archlinux .. # notice the dots at the end
# cd ..
# 2. Run the image from within the repository root
# docker run -it --rm -v "$(pwd):/controller" controller.archlinux
# 3. Build the firmware
# ./ergodox.bash
# 4. Exit the container and load the firmware
# a. exit
# b. cd ./Keyboards/ICED-L.gcc/
# c. ./load