From 044b89f3cb8c8c6382f56f50efdba2da553cb740 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 22 May 2023 15:32:55 +0200 Subject: [PATCH] add docker client in Dockerfile --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index b0913d254f..bbd347fecd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -135,6 +135,9 @@ COPY --from=denoland/deno:latest /usr/bin/deno /usr/bin/deno COPY --from=lukechannings/deno:latest /usr/bin/deno /usr/bin/deno-arm RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then rm /usr/bin/deno-arm; elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then mv /usr/bin/deno-arm /usr/bin/deno; fi +# add the docker client to call docker from a worker if enabled +COPY --from=docker:dind /usr/local/bin/docker /usr/local/bin/ + RUN mkdir -p ${APP} RUN ln -s ${APP}/windmill /usr/local/bin/windmill