diff options
| author | Erik Dasque <erik@frenchguys.com> | 2016-07-15 13:26:34 -0400 |
|---|---|---|
| committer | Erik Dasque <erik@frenchguys.com> | 2016-07-15 13:26:34 -0400 |
| commit | aa2a79bbfa5e5134fc83daf5732ca4774edf2dc2 (patch) | |
| tree | cd186feb9e9d3302dcb67e52e8fbc87f10f09b63 | |
| parent | 0446263935e418537966bc64bfd1c1cdb5206583 (diff) | |
| download | qmk_firmware-aa2a79bbfa5e5134fc83daf5732ca4774edf2dc2.tar.gz qmk_firmware-aa2a79bbfa5e5134fc83daf5732ca4774edf2dc2.zip | |
Further simplyfying the docker usage
We'll be able to change the image user name if we set up the initial repo to trigger Docker images rebuilds on hub.docker.com
| -rw-r--r-- | readme.md | 10 |
1 files changed, 3 insertions, 7 deletions
| @@ -77,18 +77,14 @@ Debian/Ubuntu example: | |||
| 77 | 77 | ||
| 78 | ### Docker | 78 | ### Docker |
| 79 | 79 | ||
| 80 | If this is a bit complex for you, Docker might be the turn-key solution you need. After installing [Docker](https://www.docker.com/products/docker), run the following commands at the root of the QMK folder: | 80 | If this is a bit complex for you, Docker might be the turn-key solution you need. After installing [Docker](https://www.docker.com/products/docker), run the following command at the root of the QMK folder to build a keyboard/keymap: |
| 81 | 81 | ||
| 82 | ```bash | 82 | ```bash |
| 83 | # You only need to run this once, it'll take a little while | 83 | # You'll run this every time you want to build a keymap |
| 84 | |||
| 85 | docker build -t qmk . | ||
| 86 | |||
| 87 | # and you'll run this every time you want to build a keymap | ||
| 88 | # modify the keymap and keyboard assigment to compile what you want | 84 | # modify the keymap and keyboard assigment to compile what you want |
| 89 | # defaults are ergodox_ez/default | 85 | # defaults are ergodox_ez/default |
| 90 | 86 | ||
| 91 | docker run -e keymap=gwen -e keyboard=ergodox_ez --rm -v $('pwd'):/qmk:rw qmk | 87 | docker run -e keymap=gwen -e keyboard=ergodox_ez --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware |
| 92 | 88 | ||
| 93 | ``` | 89 | ``` |
| 94 | 90 | ||
