diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-03-08 16:35:09 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-03-11 21:04:55 +0000 |
| commit | 8c651a59425085275a0e0a2e28a118357f4ff087 (patch) | |
| tree | 69a5f2edce78e45179efcf46044e2c3814b6c455 /syz-cluster/workflow/fuzz-step | |
| parent | 6514729552c7761911858dec87f4c95b8aa8ab45 (diff) | |
syz-cluster: fix fuzz-step Dockerfile
If we build the executor from an incomplete workdir, executor and the
host process end up having different git revisions.
Diffstat (limited to 'syz-cluster/workflow/fuzz-step')
| -rw-r--r-- | syz-cluster/workflow/fuzz-step/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/workflow/fuzz-step/Dockerfile b/syz-cluster/workflow/fuzz-step/Dockerfile index b27d7f8a9..5953e252b 100644 --- a/syz-cluster/workflow/fuzz-step/Dockerfile +++ b/syz-cluster/workflow/fuzz-step/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /build # Copy the code and the dependencies. COPY go.mod go.sum ./ RUN go mod download -COPY --exclude=syz-cluster . . +COPY . . RUN make TARGETARCH=amd64 COPY syz-cluster/ syz-cluster/ RUN GO_FLAGS=$(make go-flags 2>/dev/null) && go build "$GO_FLAGS" -o /bin/fuzz-step /build/syz-cluster/workflow/fuzz-step |
