Skip to content
This repository was archived by the owner on Aug 2, 2024. It is now read-only.
This repository was archived by the owner on Aug 2, 2024. It is now read-only.

Layer expression that creates no layers #201

@mechtaev

Description

@mechtaev

We can consider providing a predicate that creates an empty layer, say empty_layer or skip:

install_dependencies("debian:bullseye-slim") :- run("apt-get install iproute2").
install_dependencies("debian:bullseye") :- skip.

A concrete use case is here: https://github.com/modus-continens/openjdk-images-case-study/blob/fa02585eac8676b69918ad0dc53976be33ab29b4/linux.Modusfile#L59

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions