Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow two levels of inclusion #21

Open
henrik242 opened this issue Feb 24, 2022 · 2 comments
Open

Allow two levels of inclusion #21

henrik242 opened this issue Feb 24, 2022 · 2 comments

Comments

@henrik242
Copy link

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
@sachdiSICKAG
Copy link

I also hit this wall. This feature is really needed.
+1

@devthejo
Copy link

devthejo commented Sep 2, 2023

This feature is available using devthefuture/dockerfile-x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants