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!
This commit is contained in:
Idan Gazit 2020-10-01 06:52:33 +00:00
parent 5bd09b586e
commit 9b29f9b861
No known key found for this signature in database
GPG key ID: FA1E9B15C71BD7FC
2 changed files with 9 additions and 1 deletions

8
.devcontainer/Dockerfile Normal file
View file

@ -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/*

View file

@ -1,6 +1,6 @@
{
"name": "ZMK Development",
"image": "zmkfirmware/zephyr-west-action-arm",
"dockerFile": "Dockerfile",
"extensions": ["ms-vscode.cpptools"],
"runArgs": ["--security-opt", "label=disable"]
}