summaryrefslogtreecommitdiffstats
path: root/Dockerfile
Commit message (Collapse)AuthorAgeFilesLines
* Add a better Docker build script + update Dockerfile (#4222)Konstantin Đorđević2018-12-081-18/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Reverting CMD ChangesRyan MacLean2017-08-191-1/+1
| | | | Adding the CMD from @edasque in once more as it allows specifying more than one board via host ENV vars. Currently, the Dockerfile is hard-coded.
* adding lets split keymapAdam Bell2017-06-031-1/+3
|
* Cleaning Up Dockerfile Layers Per Official DocsRyan MacLean2017-04-301-6/+3
| | | | | | | | | | | | | From the official docs: ``` Note: The official Debian and Ubuntu images automatically run apt-get clean, so explicit invocation is not required. ``` Also added ` && rm -rf /var/lib/apt/lists/*` as part of the install line which probably does what was intended (no need to make a new layer). Added apt-get update to the RUN payload, as it should be part of the same layer. Both are documented here: https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/
* Reverted Dockerfile to put the CMD backErik Dasque2017-01-311-1/+2
|
* converted to 8bit messagesJack Humbert2016-11-231-2/+1
|
* add subproject env var to dockerfileAndre Silva2016-10-241-1/+2
|
* Update some obsolete referencesGergely Nagy2016-07-301-1/+1
| | | | | | | | | | | Some links were still pointing to `/keyboards/ergodox_ez`, while the directory is `/keyboards/erdogox` now. Not all references have been updated, and some of the text here and there may need updating to mention the ErgoDox Infinity too, but that's out of the scope for this quick fix. Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
* Adding Docker build system & documentationErik Dasque2016-07-151-0/+28