-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker development environment #162
Conversation
Minor: Fix incorrect code format Merging based on 3 approvals, thank you!
Fix Ubuntu build issue for inet folder Merging based on 3 approvals, thank you!
Import SystemPacketBuffer to CHIP project Merging based on 3 approvals, thank you!
Import tunnel config to CHIP Merging based on 3 approvals, thank you!
Add TLV Parser Merging per 3 approvals. Thanks
Import BLE code to CHIP Merging per 3 approvals. Thanks
Build TunEndPoint as part of inet Thanks, merging base on the approvals!
Allow 'make run_tests' from top-level
- `docker_build.sh` builds all - `docker_build.sh clean` build clean - `docker_build.sh run_tests` builds and runs tests
More changes to come, opening up for feedback. Also going to document visual studio code flow |
why "tools"? what's the difference between "tools" and "integrations" in your view of the tree? |
tools/environment/Dockerfile
Outdated
shellcheck | ||
|
||
RUN useradd -ms /bin/bash developer | ||
RUN mkdir -p /home/developer/connectedhomeip |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
legibility with multiple RUN statements is nice. each RUN implies a docker layer, though, right? any downsides to that?
asking mostly for my own edification
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my experience, multiple runs for clarity helps the reader/maintainer, and while it does mean you have technically separate images, but - there's no overhead to that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that view of it.
Sounds like we could move @pan-apple's docker_run.sh back here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please note, going to move things around a bit now, found a cleaner way to get VSCode working too!
Integrations seemed to me like things to help this CHIP repository to build & integrate with the world. To me, a local docker container is a tool to help me (the developer) do my job. Open to feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
excellent
tools/environment/Dockerfile
Outdated
@@ -0,0 +1,21 @@ | |||
FROM ubuntu:bionic |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you consider FROMing this on the integrations/docker/chip-build image instead? This Dockerfile would only have the parts for interactive work, all the tooling would match that of our CI image.
…quirements Merge in WMN_TOOLS/matter from cherry-pick/module_documentation to silabs_1.0 Squashed commit of the following: commit 9ae8e2e2849866a290dc6ff603be68a250346077 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 15:38:38 2022 +0000 Pull request project-chip#162: Add modules to hardware requirements Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
…quirements Merge in WMN_TOOLS/matter from cherry-pick/module_documentation to silabs_1.0 Squashed commit of the following: commit 9ae8e2e2849866a290dc6ff603be68a250346077 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 15:38:38 2022 +0000 Pull request project-chip#162: Add modules to hardware requirements Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from cherry-pick/module_documentation to silabs_1.0 Squashed commit of the following: commit 9ae8e2e2849866a290dc6ff603be68a250346077 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 15:38:38 2022 +0000 Pull request #162: Add modules to hardware requirements Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
…quirements Merge in WMN_TOOLS/matter from cherry-pick/module_documentation to silabs_1.0 Squashed commit of the following: commit 9ae8e2e2849866a290dc6ff603be68a250346077 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 15:38:38 2022 +0000 Pull request project-chip#162: Add modules to hardware requirements Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Merge in WMN_TOOLS/matter from feature/module_doc to silabs Squashed commit of the following: commit 228a1dce75f057d65c18cc46b274faa5d4ebe245 Author: Mathieu Kardous <[email protected]> Date: Fri Oct 7 11:15:34 2022 -0400 Clean up documentation changes commit 689675c21978d99b3fefde895dad68e8b7d67b09 Author: Mathieu Kardous <[email protected]> Date: Thu Oct 6 14:25:33 2022 -0400 Add BRD4316A/17A to hardware requirements
Problem
#155
Summary of Changes
Setting up a simple docker development image.
Need to:
• Document
• Publish