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.
qmk-fw/util
Konstantin Đorđević 13ad650136 Add a better Docker build script + update Dockerfile (#4222)
* Add a Docker build script

* Add usage and error messages

* Add -r to reads

Thanks mechmerlin

* Add keyboard:keymap form, improve script

* Add target argument, change usage forms in script

* Add check for more than 3 args in keyboard:keymap:target form

* Change Docker base image to debian, use community repo

This matches what qmk_compiler uses (https://github.com/qmk/qmk_compiler/blob/master/Dockerfile#L1).

I've removed the maintainer as we now have a community build on Docker Hub (https://hub.docker.com/r/qmkfm/qmk_firmware). This Dockerfile will also be maintained by the community.

* Change build command format to keyboard:keymap

* Call make directly in container run command

* Simplify script, remove 3-arg form

* Add COPY to Dockerfile so images are usable in and of themselves

Also change WORKDIR from /qmk to /qmk_firmware

* Add USB pass-through for Linux and docker-machine hosts

* Read directly into variables instead of array

* Alphabetically sort dependencies in Dockerfile

* Set executable bit on util/docker_build.sh

* Update Docker docs

* Add warning about Docker on Windows

* Expand comment in docs

* Check docker-machine exit code instead of string

* Only match --help with whole arguments

* Make script POSIX-compliant

* Convert script indentation to tabs
6 years ago
..
1-setup-path-win.bat
2-setup-environment-win.bat Fix avoid certificate errors that occur during '2-setup-environment-win.bat' 8 years ago
ELEVATE_LICENSE.md
Win_Check.bat
activate_msys2.sh Set the executable bit for sh scripts under util. 7 years ago
activate_wsl.sh Set the executable bit for sh scripts under util. 7 years ago
add-paths.bat
atmega32a_program.py Updated personal keymaps, fixed Let's Split default keymap, updated JJ40 README (#2704) 7 years ago
bootloader_at90usb128x_1_0_1.hex add other mcu bootloaders 8 years ago
bootloader_atmega16u4_1_0_1.hex add other mcu bootloaders 8 years ago
bootloader_atmega32u4_1_0_0.hex convert to unix line-endings [skip ci] 7 years ago
docker_build.sh Add a better Docker build script + update Dockerfile (#4222) 6 years ago
drivers.txt Add stm32 to drivers.txt 7 years ago
elevate.exe
freebsd_install.sh Set the executable bit for sh scripts under util. 7 years ago
generate_internal_docs.sh Set the executable bit for sh scripts under util. 7 years ago
linux_install.sh fix diffutils arch package name (#4470) 7 years ago
macos_install.sh Make sure that avr-gcc@7 gets linked into the path on MacOS. 7 years ago
msys2_install.sh Update MSYS to use the 5.4.0 toolchain (#4106) 7 years ago
new_keymap.sh Bug: Users had to be in the /util directory to run the script (#4228) 7 years ago
new_project.sh Improve new_project script (#4373) 7 years ago
pro_micro_ISP_B6_10.hex Update ISP flashing guide with pre-compiled binary (#3217) 7 years ago
qmk_install.sh Fold install_dependencies.sh into linux_install.sh and freebsd_install.sh 7 years ago
teensy_2.0_ISP_B0.hex convert to unix line-endings [skip ci] 8 years ago
travis_build.sh Set the executable bit for sh scripts under util. 7 years ago
travis_compiled_push.sh Set the executable bit for sh scripts under util. 7 years ago
travis_docs.sh Set the executable bit for sh scripts under util. 7 years ago
travis_push.sh Set the executable bit for sh scripts under util. 7 years ago
win_shared_install.sh Set the executable bit for sh scripts under util. 7 years ago
wsl_install.sh Set the executable bit for sh scripts under util. 7 years ago