You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
699 B
Docker
27 lines
699 B
Docker
from ubuntu:latest
|
|
|
|
run apt-get update && apt-get install -y \
|
|
sudo \
|
|
git \
|
|
python3-pip \
|
|
dos2unix \
|
|
curl
|
|
|
|
run python3 -m pip install --user qmk
|
|
|
|
env PATH="/root/.local/bin:${PATH}"
|
|
run qmk setup -y -H /qmk_firmware
|
|
|
|
run curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -t thumbv7em-none-eabihf -y
|
|
env PATH="/root/.cargo/bin/:${PATH}"
|
|
|
|
copy /scripts/compile.sh /opt/compile.sh
|
|
run dos2unix /opt/compile.sh
|
|
run chmod +x /opt/compile.sh
|
|
copy ./keymap/* /qmk_firmware/keyboards/massdrop/alt/keymaps/ashe/
|
|
copy ./rust-funcs /rust-funcs/
|
|
|
|
run find /qmk_firmware/keyboards/massdrop/alt/keymaps/ashe | xargs dos2unix
|
|
run find /rust-funcs/ | xargs dos2unix
|
|
|
|
cmd /opt/compile.sh |