aboutsummaryrefslogtreecommitdiffstats
path: root/syz-cluster/workflow/build-step
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-12-31 11:45:07 +0100
committerAleksandr Nogikh <nogikh@google.com>2025-12-31 12:47:10 +0000
commit49aa01cc85881401b4863fee7eb2d1a0b24daa93 (patch)
tree84073e368d45bdcabe00e1fa4b71bc5cae540d39 /syz-cluster/workflow/build-step
parentd32f762a1f4d1a1e4bd4b116b42b5cd263892f71 (diff)
syz-cluster: refactor Dockerfiles
Copy everything into the build context. Add a .dockerignore file to avoid copying the definitely unnecessary files and folders. Check copyrights presence in Dockerfiles.
Diffstat (limited to 'syz-cluster/workflow/build-step')
-rw-r--r--syz-cluster/workflow/build-step/Dockerfile4
1 files changed, 1 insertions, 3 deletions
diff --git a/syz-cluster/workflow/build-step/Dockerfile b/syz-cluster/workflow/build-step/Dockerfile
index c3f2fb037..7f8849ffd 100644
--- a/syz-cluster/workflow/build-step/Dockerfile
+++ b/syz-cluster/workflow/build-step/Dockerfile
@@ -7,9 +7,7 @@ FROM gcr.io/syzkaller/env AS build-step-builder
WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download
-COPY --exclude=syz-cluster . .
-COPY syz-cluster/workflow/build-step/*.go syz-cluster/workflow/build-step/
-COPY syz-cluster/pkg/ syz-cluster/pkg/
+COPY . .
RUN go build -o /build/build-step-bin /build/syz-cluster/workflow/build-step
# Build on the latest syzbot image.