qmk-firmware/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
2018-12-08 09:42:46 -08:00
..
1-setup-path-win.bat
2-setup-environment-win.bat
activate_msys2.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
activate_wsl.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
add-paths.bat
atmega32a_program.py
bootloader_at90usb128x_1_0_1.hex
bootloader_atmega16u4_1_0_1.hex
bootloader_atmega32u4_1_0_0.hex convert to unix line-endings [skip ci] 2018-11-12 20:51:24 +00:00
docker_build.sh Add a better Docker build script + update Dockerfile (#4222) 2018-12-08 09:42:46 -08:00
drivers.txt
ELEVATE_LICENSE.md
elevate.exe
freebsd_install.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
generate_internal_docs.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
linux_install.sh fix diffutils arch package name (#4470) 2018-11-24 08:48:42 -08:00
macos_install.sh Make sure that avr-gcc@7 gets linked into the path on MacOS. 2018-11-12 12:16:43 -08:00
msys2_install.sh Update MSYS to use the 5.4.0 toolchain (#4106) 2018-11-27 13:45:01 -08:00
new_keymap.sh Bug: Users had to be in the /util directory to run the script (#4228) 2018-10-24 08:57:08 -07:00
new_project.sh Improve new_project script (#4373) 2018-11-11 19:54:10 -08:00
pro_micro_ISP_B6_10.hex
qmk_install.sh
teensy_2.0_ISP_B0.hex
travis_build.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
travis_compiled_push.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
travis_docs.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
travis_push.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
Win_Check.bat
win_shared_install.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00
wsl_install.sh Set the executable bit for sh scripts under util. 2018-11-02 13:42:05 -04:00