skylark-qmk/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 Long overdue fixes and improvements to environment setup scripts (#448) 2016-06-27 09:52:01 -04:00
2-setup-environment-win.bat Fix avoid certificate errors that occur during '2-setup-environment-win.bat' 2017-08-22 09:09:51 -04:00
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 Stops explorer.exe from being started with admin privilieges (#373) 2016-06-02 13:00:44 -04:00
atmega32a_program.py Updated personal keymaps, fixed Let's Split default keymap, updated JJ40 README (#2704) 2018-04-19 09:28:55 -07:00
bootloader_at90usb128x_1_0_1.hex add other mcu bootloaders 2017-06-23 23:05:42 -04:00
bootloader_atmega16u4_1_0_1.hex add other mcu bootloaders 2017-06-23 23:05:42 -04:00
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 Add stm32 to drivers.txt 2018-02-05 08:54:49 -08:00
elevate.exe Add missing elevate.exe file (#377) 2016-06-03 22:42:51 -04:00
ELEVATE_LICENSE.md Stops explorer.exe from being started with admin privilieges (#373) 2016-06-02 13:00:44 -04:00
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 Update ISP flashing guide with pre-compiled binary (#3217) 2018-08-02 23:07:33 -04:00
qmk_install.sh Fold install_dependencies.sh into linux_install.sh and freebsd_install.sh 2018-10-22 13:24:43 -07:00
teensy_2.0_ISP_B0.hex convert to unix line-endings [skip ci] 2017-11-02 00:51:41 +00:00
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 Fixed Batch Syntax on different versions of Windows 2016-09-15 19:49:29 -05:00
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