diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-12-31 11:45:07 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-12-31 12:47:10 +0000 |
| commit | 49aa01cc85881401b4863fee7eb2d1a0b24daa93 (patch) | |
| tree | 84073e368d45bdcabe00e1fa4b71bc5cae540d39 /syz-cluster/workflow/triage-step | |
| parent | d32f762a1f4d1a1e4bd4b116b42b5cd263892f71 (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/triage-step')
| -rw-r--r-- | syz-cluster/workflow/triage-step/Dockerfile | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/syz-cluster/workflow/triage-step/Dockerfile b/syz-cluster/workflow/triage-step/Dockerfile index 67110b863..782a31e3d 100644 --- a/syz-cluster/workflow/triage-step/Dockerfile +++ b/syz-cluster/workflow/triage-step/Dockerfile @@ -1,3 +1,4 @@ +# syntax=docker.io/docker/dockerfile:1.7-labs # Copyright 2024 syzkaller project authors. All rights reserved. # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. @@ -10,14 +11,7 @@ COPY go.mod go.sum ./ RUN go mod download # Build the tool. -COPY pkg/ pkg/ -# TODO: get rid of this dependency. -COPY prog/ prog/ -COPY dashboard/dashapi/ dashboard/dashapi/ -COPY sys/targets/ sys/targets/ -COPY syz-cluster/workflow/triage-step/*.go syz-cluster/workflow/triage-step/ -COPY syz-cluster/pkg/ syz-cluster/pkg/ - +COPY --exclude=.git . . RUN go build -o /build/triage-step-bin /build/syz-cluster/workflow/triage-step FROM ubuntu:latest |
