Skip to content

Enhance Docker Container Layer Design #9

@1unarzDev

Description

@1unarzDev

Build Time Minimization: Docker Container Layer Design

Currently, the Dockerfile for our primary development container builds every apt package on the same layer (and is also below the ZED SDK layer), which is problematic because it means adding packages requires 10+ minute builds. I think the smartest solution to this problem is to place the apt packages at the very end and dynamically chunk them as we add new dependencies. Ideally, this should happen sparingly, but we need to be able to account for it in case we make changes during a boat test. Modify the Dockerfile and possibly brainstorm a way to prevent rebuilds of the ZED SDK after adding packages. I would suggest making the apt package installation a devcontainer feature that happens after installing the ZED SDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions