Skip to content

Dockerfile: Project sources -- takes too much space #6

@PLukas2018

Description

@PLukas2018

When building the container image, it can take a lot of disk space before the image is created.
This is mainly caused by making two copies of kernel sources -- one for sysctl comparison and one for function comparison.
I think it would be better to download the sources (specifically the kernel) outside of the container and then mount it in two copies -- this should be possible by using the :O option (overlay volume mounts) [1].

[1] https://docs.podman.io/en/latest/markdown/podman-run.1.html#volume-v-source-volume-host-dir-container-dir-options

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions