summary refs log tree commit diff
path: root/bin/compose
diff options
context:
space:
mode:
Diffstat (limited to 'bin/compose')
-rwxr-xr-xbin/compose4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/compose b/bin/compose
index e4a5dbd..70c3072 100755
--- a/bin/compose
+++ b/bin/compose
@@ -6,5 +6,9 @@ exec docker run \
     --net host \
     --mount type=bind,src=/var/run/docker.sock,dst=/var/run/docker.sock \
     --mount type=bind,src="$cwd",dst="$container_cwd" \
+    --mount type=bind,src=/,dst=/rootfs \
+    --env COMPOSE_DOCKER_CLI_BUILD=1 \
+    --env DOCKER_BUILDKIT=1 \
+    --env HERE="$cwd" \
     -w "$container_cwd" \
     docker/compose:latest $@