This repository provides the necessary configuration to use QMK with Docker on Apple Silicon devices.
These instructions guide you on how to build and run the Docker image for QMK.
To build the Docker image, execute the following command:
make build
This command downloads the necessary Docker files and constructs the image on your local machine.
To run the Docker image, execute the following commands:
make run
make setup
These commands start the Docker container and prepare it for compiling your keyboard layout.
Note: The initial build process may take some time.
To access the bash shell of the Docker container, run the following command:
make bash
To compile your keyboard layout with QMK for the Lily58 keyboard, use the following command:
qmk compile -kb lily58 -km default
This command compiles the QMK keyboard layout using the default keymap for the Lily58 keyboard.
If you are compiling a keyboard layout specifically for the Raspberry Pi controller, you can use the following command:
qmk compile -kb lily58 -km default -e CONVERT_TO=promicro_rp2040
This command compiles the QMK keyboard layout using the default keymap for the Lily58 keyboard, targeting the Raspberry Pi controller and utilizing the RP2040 bootloader.
Some split keyboards, such as Lily58, may require additional adjustments to compile properly. To enable split keyboard support, include the following code snippet in your keyboard layout's configuration file config.h
:
#define SPLIT_USB_DETECT
This adjustment is specific to Lily58, and other split keyboards may have different requirements.
With these instructions, you should be able to build and compile your QMK keyboard layout on Apple Silicon using Docker.