From daae1c14abaaafef9813db9e3c5fc91c990b2037 Mon Sep 17 00:00:00 2001 From: benzheng Date: Wed, 29 Jul 2026 10:47:29 +0800 Subject: [PATCH] fix: copy synocli into builder image for default make target The Makefile default build target includes bin/synocli, but the Dockerfile builder stage never copies synocli/ into the build context, so building the image fails with "stat /go/src/synok8scsiplugin/synocli: directory not found". Copy synocli/ so the in-image make behaves the same as in a full checkout. --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4550dc1..7aa35cd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,7 @@ ARG TARGETPLATFORM COPY main.go . COPY pkg ./pkg +COPY synocli ./synocli RUN env GOARCH=$(echo "$TARGETPLATFORM" | cut -f2 -d/) \ GOARM=$(echo "$TARGETPLATFORM" | cut -f3 -d/ | cut -c2-) \ make