Skip to content

generate tags based results of non-deterministic commands #27

Open
@errordeveloper

Description

@errordeveloper

There should be a way of generating a new tag based on whether some command results in non-deterministic layer changes.

A typical use-case would be to have RUN yum update-minimal --security --yes. It's not possible to do this with pinned dependencies, especially in the context of multiple distributions, not all package manager allow invocations where exact package versions are specified, and that wouldn't even work for the purpose of obtaining security updates.

It's possible that an a dedicated assertion target could be used for this, similar to test target, but one that precludes the main build stages...

It should be fairly doable to inspect the outcome based on layers, and perhaps use append digest to the tag.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions