Sign inSign up

jsanchez0x/qmk_container

By jsanchez0x

Updated about 3 years ago

Image with everything needed to use QMK.

Image
0

1.7K

jsanchez0x/qmk_container repository overview

qmk_container Docker Image CI Generic badge

Dockerfile to generate a container with everything needed to use QMK(Quantum Mechanical Keyboard).
The size of the extracted image is approximately 4.6GB.

Instructions

1.- Preparing the environment

It is necessary to create some working directories. For example:

mkdir -p $HOME/qmk/firmwares $HOME/qmk/keyboards
2.- Clone QMK firmware repository

You need to have the source code files. You can get them from the official QMK repository (keyboards directory) and copy it into the $HOME/qmk/keyboards directory.

Example for the YMDK Wings PCB:

git clone https://github.com/qmk/qmk_firmware.git
cp -r qmk_firmware/keyboards/ymdk $HOME/qmk/keyboards/
3.- Compiling the firmware

Run the qmk_compile command for execute the compilation in the container. It is recommended to share a directory in order to have the project on the host machine and the compiled firmware is also generated on the host machine.

Following the previous example:

docker run --rm -it \
        --name qmk_container \
        -v $HOME/qmk/keyboards/:/qmk_firmware/keyboards/ \
        -v $HOME/qmk/firmwares/:/qmk_firmware/.build/ \
        jsanchez0x/qmk_container:latest qmk_compile

The keyboard and keymap will be requested. Continuing with the example:

Keyboard (i.e. kbdfans/kbd67/mkiirgb/v2):
ymdk/wings
Keymap (i.e. via):
default

Executing compilation...

More info

More information on how to use this image can be found in the official QMK documentation.

Credits

Official QMK base container

Tag summary

Content type

Image

Digest

sha256:49fb7b890

Size

1.9 GB

Last updated

about 3 years ago

docker pull jsanchez0x/qmk_container