Peter Johanson
94ac100b6b
refactor: Move to Zephyr v3.0.0 + ZMK fixes.
3 years ago
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.
3 years ago
innovaker
03a3968018
feat(devcontainer): bump `zmk-dev-arm` to `2.5`
...
PR: https://github.com/zmkfirmware/zmk/pull/736
3 years ago
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
4 years ago
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
4 years ago
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
4 years ago
innovaker
5989d8cb26
feat(devcontainer): upgrade to zmk-dev-arm:2.4
...
PR: #467
4 years ago
innovaker
5f9244fc21
feat(devcontainer): supersede zephyr-west-action-arm with zmk-dev-arm
...
PR: #481
4 years ago
innovaker
a9f257cdec
feat(devcontainer): add forwardPorts 3000
...
Required for testing the documentation with the host's browser.
PR: #477
4 years ago
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
4 years ago
innovaker
2f9e8ea3c1
refactor(devcontainer): format with prettier
...
PR: #474
4 years ago
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
4 years ago
Chiyuan Zhang
9388b24e7a
zmk-config mounting based on docker volume
4 years ago
Idan Gazit
737283bcbc
Behave properly in GH Codespaces
4 years ago
Idan Gazit
63ad5b7c08
Inject $WORKSPACE_DIR into container
...
This permits users to check ZMK out into arbitrarily-named directories
4 years ago
Idan Gazit
db40fbad59
Conditionally source zephyr-env.sh in .bashrc
4 years ago
Idan Gazit
63931a7068
Accept suggestions
...
Co-authored-by: Pete Johanson <peter@peterjohanson.com>
4 years ago
Idan Gazit
42d1915ced
Use spaces, not tabs
4 years ago
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!
4 years ago
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
4 years ago
Idan Gazit
9231f6c57b
Add VSCode devcontainer configuration
4 years ago