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
This commit is contained in:
parent
0446263935
commit
aa2a79bbfa
1 changed files with 3 additions and 7 deletions
10
readme.md
10
readme.md
|
@ -77,18 +77,14 @@ Debian/Ubuntu example:
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
|
|
||||||
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:
|
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:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# You only need to run this once, it'll take a little while
|
# You'll run this every time you want to build a keymap
|
||||||
|
|
||||||
docker build -t qmk .
|
|
||||||
|
|
||||||
# and you'll run this every time you want to build a keymap
|
|
||||||
# modify the keymap and keyboard assigment to compile what you want
|
# modify the keymap and keyboard assigment to compile what you want
|
||||||
# defaults are ergodox_ez/default
|
# defaults are ergodox_ez/default
|
||||||
|
|
||||||
docker run -e keymap=gwen -e keyboard=ergodox_ez --rm -v $('pwd'):/qmk:rw qmk
|
docker run -e keymap=gwen -e keyboard=ergodox_ez --rm -v $('pwd'):/qmk:rw edasque/qmk_firmware
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue