diff options
Diffstat (limited to 'syz-cluster/reporter-server/Dockerfile')
| -rw-r--r-- | syz-cluster/reporter-server/Dockerfile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/syz-cluster/reporter-server/Dockerfile b/syz-cluster/reporter-server/Dockerfile index 82f34946c..1280ab9ed 100644 --- a/syz-cluster/reporter-server/Dockerfile +++ b/syz-cluster/reporter-server/Dockerfile @@ -1,17 +1,16 @@ +# syntax=docker.io/docker/dockerfile:1.7-labs +# Copyright 2025 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. FROM golang:1.24-alpine AS reporter-builder WORKDIR /build # Prepare the dependencies. -COPY go.mod ./ -COPY go.sum ./ +COPY go.mod go.sum ./ RUN go mod download -COPY pkg/gcs/ pkg/gcs/ -COPY pkg/osutil/ pkg/osutil/ # Build the tool. -COPY syz-cluster/reporter-server/ syz-cluster/reporter-server/ -COPY syz-cluster/pkg/ syz-cluster/pkg/ +COPY --exclude=.git . . RUN go build -o /bin/reporter-server /build/syz-cluster/reporter-server # Build the container. |
