Commit graph

21 commits

Author SHA1 Message Date
Peter Johanson
94ac100b6b refactor: Move to Zephyr v3.0.0 + ZMK fixes. 2022-04-03 00:10:29 -04:00
Peter Johanson
5cc7c280a5 refactor: Move to explicit docker.io/* image references.
* Some runtimes (e.g. podman), require explicit registries in image URLs
 or will prompt for the user to select one, which breaks things like
 VSCode remote container rebuilds.
2021-10-23 15:33:42 -04:00
innovaker
03a3968018 feat(devcontainer): bump zmk-dev-arm to 2.5
PR: https://github.com/zmkfirmware/zmk/pull/736
2021-07-17 17:04:25 -04:00
innovaker
3b77266bbb feat(devcontainer): add volume mounts for zephyr, modules and tools
This effectively caches Zephyr and its dependencies.  It also shares them between containers.

PR: #519
2020-12-18 09:18:08 -05:00
innovaker
b507f9809a feat(devcontainer): persist bash history
When combined with the root user volume, this commit instructs bash to save each command to the bash history after execution, thereby sharing the bash history between any containers that use the volume.

Based on the advice of KemoNine.

PR: #480
2020-12-17 16:51:06 -05:00
innovaker
019f7f5465 feat(devcontainer): add volume mount for root user
Caches VS Code extensions and other profile settings between zmk containers.

Based on advice from KemoNine.

PR: #479
2020-12-14 22:49:28 -05:00
innovaker
5989d8cb26 feat(devcontainer): upgrade to zmk-dev-arm:2.4
PR: #467
2020-12-14 12:41:25 -05:00
innovaker
5f9244fc21 feat(devcontainer): supersede zephyr-west-action-arm with zmk-dev-arm
PR: #481
2020-12-10 14:01:59 -05:00
innovaker
a9f257cdec feat(devcontainer): add forwardPorts 3000
Required for testing the documentation with the host's browser.

PR: #477
2020-12-08 00:44:07 -05:00
innovaker
a6a64873af refactor(devcontainer): reorder properties
Reorder the file so that related properties are roughly grouped together and the order is more logical.

PR: #476
2020-12-06 22:54:07 -05:00
innovaker
2f9e8ea3c1 refactor(devcontainer): format with prettier
PR: #474
2020-12-05 14:29:33 +00:00
KemoNine
efe18a995b Setup locales so make mnuconfig works properly inside the dev container ; add nano to the dev container so git has a valid editor in case users use git directly within the container 2020-11-27 21:22:58 -05:00
Chiyuan Zhang
9388b24e7a zmk-config mounting based on docker volume 2020-11-16 22:49:20 -05:00
Idan Gazit
737283bcbc
Behave properly in GH Codespaces 2020-10-12 14:23:34 -07:00
Idan Gazit
63ad5b7c08
Inject $WORKSPACE_DIR into container
This permits users to check ZMK out into arbitrarily-named directories
2020-10-09 19:09:11 -07:00
Idan Gazit
db40fbad59
Conditionally source zephyr-env.sh in .bashrc 2020-10-09 19:09:11 -07:00
Idan Gazit
63931a7068
Accept suggestions
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
2020-10-09 19:09:11 -07:00
Idan Gazit
42d1915ced
Use spaces, not tabs 2020-10-09 18:54:27 -07:00
Idan Gazit
9b29f9b861
Install SSH and GPG into container
Brings back the dockerfile so we can install SSH and GPG into it.
This fixes git actions with SSH remotes, and GPG signing now
works out of the box.

This commit was made from inside the container!
2020-10-09 18:54:27 -07:00
Idan Gazit
5bd09b586e
Remove Dockerfile in favor of image
Per the docs, we can directly specify an image in devcontainer.json:
https://code.visualstudio.com/docs/remote/devcontainerjson-reference
2020-10-09 18:54:27 -07:00
Idan Gazit
9231f6c57b
Add VSCode devcontainer configuration 2020-10-09 18:54:27 -07:00