[GH-ISSUE #300] the joys of docker buildkit -- context #135

Closed
opened 2026-03-04 01:35:03 +03:00 by kerem · 1 comment
Owner

Originally created by @lts-rad on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/spr-networks/super/issues/300

while developing a plugin it was observed that buildkit broke the concept of context on a multiline compose file

for ex:

docker compose -f $PWD/docker-compose-virt.yml -f  plugins/user/spr-tailscale/docker-compose.yml build

if the 2nd compose file has a context of '.', insteado f using plugins/user/spr-tailscale/ it will attempt to use the CWD.

To address this, we can update the plugin references to use a ${BUILDCTX} environment variable that superd will know to set.

Originally created by @lts-rad on GitHub (Mar 21, 2024). Original GitHub issue: https://github.com/spr-networks/super/issues/300 while developing a plugin it was observed that buildkit broke the concept of context on a multiline compose file for ex: ``` docker compose -f $PWD/docker-compose-virt.yml -f plugins/user/spr-tailscale/docker-compose.yml build ``` if the 2nd compose file has a context of '.', insteado f using plugins/user/spr-tailscale/ it will attempt to use the CWD. To address this, we can update the plugin references to use a ${BUILDCTX} environment variable that superd will know to set.
kerem closed this issue 2026-03-04 01:35:03 +03:00
Author
Owner

@lts-rad commented on GitHub (Mar 25, 2024):

This affected VIRTUAL_MODE containers. fixed now.

<!-- gh-comment-id:2018776571 --> @lts-rad commented on GitHub (Mar 25, 2024): This affected VIRTUAL_MODE containers. fixed now.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/super#135
No description provided.