Skip to content

Optimize dockerfile to combine build stage and runtime stage #174

@rouxiaomin

Description

@rouxiaomin

Details:

  1. Upgrade Python to version 3.12 and Go to version 1.23 to maintain consistency with the plugin daemon.

  2. Optimize Dockerfile, including both build and runtime stages. No manual compilation required. Compared to previous versions, Linux runtime environment packages: removed pkg-config and modified libseccomp-dev to libseccomp2.

  3. Preserve env file for easy environment migration.

The final image size is reduced by about 10MB compared to the original.

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