Skip to content
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

Closed
wants to merge 347 commits into from
Closed

Docker development environment #162

wants to merge 347 commits into from

Conversation

woody-apple
Copy link
Contributor

Problem

#155

Summary of Changes

Setting up a simple docker development image.

Need to:
• Document
• Publish

pan-apple and others added 30 commits March 10, 2020 13:16
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
@woody-apple
Copy link
Contributor Author

More changes to come, opening up for feedback. Also going to document visual studio code flow

@rwalker-apple
Copy link
Contributor

why "tools"? what's the difference between "tools" and "integrations" in your view of the tree?

shellcheck

RUN useradd -ms /bin/bash developer
RUN mkdir -p /home/developer/connectedhomeip
Copy link
Contributor

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

Copy link
Contributor Author

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.

Copy link
Contributor

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.

Copy link
Contributor Author

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!

@woody-apple
Copy link
Contributor Author

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.

Copy link

@hawk248 hawk248 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent

@@ -0,0 +1,21 @@
FROM ubuntu:bionic
Copy link
Contributor

@rwalker-apple rwalker-apple Mar 31, 2020

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.

jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Oct 13, 2022
…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 <Mathieu.Kardous@silabs.com>
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 <mathieu.kardous@silabs.com>
    Date:   Fri Oct 7 11:15:34 2022 -0400

        Clean up documentation changes

    commit 689675c21978d99b3fefde895dad68e8b7d67b09
    Author: Mathieu Kardous <mathieu.kardous@silabs.com>
    Date:   Thu Oct 6 14:25:33 2022 -0400

        Add BRD4316A/17A to hardware requirements
nipatel-silabs pushed a commit to nipatel-silabs/connectedhomeip that referenced this pull request Oct 19, 2022
…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 <Mathieu.Kardous@silabs.com>
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 <mathieu.kardous@silabs.com>
    Date:   Fri Oct 7 11:15:34 2022 -0400

        Clean up documentation changes

    commit 689675c21978d99b3fefde895dad68e8b7d67b09
    Author: Mathieu Kardous <mathieu.kardous@silabs.com>
    Date:   Thu Oct 6 14:25:33 2022 -0400

        Add BRD4316A/17A to hardware requirements
mkardous-silabs referenced this pull request in mkardous-silabs/connectedhomeip Oct 24, 2022
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
mkardous-silabs referenced this pull request in mkardous-silabs/connectedhomeip Nov 2, 2022
Merge in WMN_TOOLS/matter from cherry-pick/module_documentation to silabs_1.0

Squashed commit of the following:

commit 9ae8e2e2849866a290dc6ff603be68a250346077
Author: Mathieu Kardous <Mathieu.Kardous@silabs.com>
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 <mathieu.kardous@silabs.com>
    Date:   Fri Oct 7 11:15:34 2022 -0400

        Clean up documentation changes

    commit 689675c21978d99b3fefde895dad68e8b7d67b09
    Author: Mathieu Kardous <mathieu.kardous@silabs.com>
    Date:   Thu Oct 6 14:25:33 2022 -0400

        Add BRD4316A/17A to hardware requirements
rerasool pushed a commit to SiliconLabs/matter that referenced this pull request Nov 2, 2022
…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 <Mathieu.Kardous@silabs.com>
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 <mathieu.kardous@silabs.com>
    Date:   Fri Oct 7 11:15:34 2022 -0400

        Clean up documentation changes

    commit 689675c21978d99b3fefde895dad68e8b7d67b09
    Author: Mathieu Kardous <mathieu.kardous@silabs.com>
    Date:   Thu Oct 6 14:25:33 2022 -0400

        Add BRD4316A/17A to hardware requirements
mkardous-silabs referenced this pull request in mkardous-silabs/connectedhomeip Dec 14, 2022
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Feb 24, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
mkardous-silabs referenced this pull request in mkardous-silabs/connectedhomeip May 2, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request May 18, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
rerasool pushed a commit to SiliconLabs/matter that referenced this pull request Jun 23, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Sep 1, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
shgutte pushed a commit to shgutte/connectedhomeip that referenced this pull request Oct 5, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Oct 25, 2023
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
shgutte pushed a commit to shgutte/connectedhomeip that referenced this pull request Jan 11, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Jan 18, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request Feb 15, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
jmartinez-silabs pushed a commit to SiliconLabs/matter that referenced this pull request May 8, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
rcasallas-silabs pushed a commit to rcasallas-silabs/connectedhomeip that referenced this pull request Jun 20, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
rcasallas-silabs pushed a commit to rcasallas-silabs/connectedhomeip that referenced this pull request Jun 20, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
mykrupp pushed a commit to mykrupp/connectedhomeip that referenced this pull request Jul 18, 2024
Merge in WMN_TOOLS/matter from feature/module_doc to silabs

Squashed commit of the following:

commit 228a1dce75f057d65c18cc46b274faa5d4ebe245
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Fri Oct 7 11:15:34 2022 -0400

    Clean up documentation changes

commit 689675c21978d99b3fefde895dad68e8b7d67b09
Author: Mathieu Kardous <mathieu.kardous@silabs.com>
Date:   Thu Oct 6 14:25:33 2022 -0400

    Add BRD4316A/17A to hardware requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup development docker image
9 participants