diff options
author | Idan Gazit <[email protected]> | 2020-10-01 06:52:33 +0000 |
---|---|---|
committer | Idan Gazit <[email protected]> | 2020-10-09 18:54:27 -0700 |
commit | 9b29f9b861464a8a0eba78f25058cded118b84d5 (patch) | |
tree | 7dbe8c373c30d5ac0a625889dff6022c2bdeae82 /.devcontainer | |
parent | 5bd09b586e153185850fe468b19fdd0eb534f35d (diff) | |
download | zmk-9b29f9b861464a8a0eba78f25058cded118b84d5.tar.gz zmk-9b29f9b861464a8a0eba78f25058cded118b84d5.zip |
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!
Diffstat (limited to '.devcontainer')
-rw-r--r-- | .devcontainer/Dockerfile | 8 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000000..abbe54ac4d --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,8 @@ +from zmkfirmware/zephyr-west-action-arm + +RUN apt-get -y update && \ + apt-get -y upgrade && \ + apt-get install --no-install-recommends -y \ + ssh \ + gpg && \ + rm -rf /var/lib/apt/lists/*
\ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index bbf44bc765..f21465df24 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "ZMK Development", - "image": "zmkfirmware/zephyr-west-action-arm", + "dockerFile": "Dockerfile", "extensions": ["ms-vscode.cpptools"], "runArgs": ["--security-opt", "label=disable"] } |