Skip to content

Commit

Permalink
kill container
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 14, 2023
1 parent b974116 commit 826a26d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// devcontainer.json
{
"features": {
"ghcr.io/devcontainers-community/features/cmake:1": {}
"ghcr.io/devcontainers-community/features/cmake": {}
}
}
```
Expand Down
4 changes: 2 additions & 2 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ cat <<EOF | tee .devcontainer/devcontainer.json
EOF
rsync -av --exclude .git "$feature_dir/" "$PWD/.devcontainer/feature/"
tree -a
devcontainer up --workspace-folder .
container_id=$(devcontainer up --workspace-folder . | jq -r .containerId)
devcontainer exec --workspace-folder . cmake --version
echo "TODO: Kill container after test"
docker kill "$container_id"

0 comments on commit 826a26d

Please sign in to comment.