summaryrefslogtreecommitdiffstats
path: root/Dockerfile
AgeCommit message (Collapse)AuthorFilesLines
2018-12-08Add a better Docker build script + update Dockerfile (#4222)Konstantin Đorđević1-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
2017-08-19Reverting CMD ChangesRyan MacLean1-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.
2017-06-03adding lets split keymapAdam Bell1-1/+3
2017-05-01Cleaning Up Dockerfile Layers Per Official DocsRyan MacLean1-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/
2017-02-01Reverted Dockerfile to put the CMD backErik Dasque1-1/+2
2016-11-23converted to 8bit messagesJack Humbert1-2/+1
2016-10-24add subproject env var to dockerfileAndre Silva1-1/+2
2016-07-30Update some obsolete referencesGergely Nagy1-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>
2016-07-15Adding Docker build system & documentationErik Dasque1-0/+28