Skip to content

Allow two levels of inclusion #21

@henrik242

Description

@henrik242

Would it be possible for Dockerfile B to include Dockerfile A, and then Dockerfile C include Dockerfile B?

Currently that doesn't work because of the duplicate # syntax. The error is:

Dockerfile:1
--------------------
   1 | >>> # syntax = edrevo/dockerfile-plus
   2 |     # syntax = edrevo/dockerfile-plus
   3 |     INCLUDE+ ../Dockerfile.base
--------------------
error: failed to solve: failed to create LLB definition: only one syntax parser directive can be used

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