blob: 6dca112edcfd3707060437c8c7ff0617a1eedd71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
FROM golang:1.24-bullseye
RUN apt-get update && \
apt-get install -y git
RUN useradd --create-home syzkaller
WORKDIR /build
# Prepare the dependencies.
COPY go.mod ./
COPY go.sum ./
RUN go mod download
# Copy the source files.
COPY pkg/ pkg/
COPY prog/ prog/
COPY sys/ sys/
COPY vm/ vm/
COPY dashboard/dashapi/ dashboard/dashapi/
COPY syz-cluster/pkg/ syz-cluster/pkg/
COPY syz-cluster/controller/ syz-cluster/controller/
COPY syz-cluster/workflow/ syz-cluster/workflow/
ENTRYPOINT ["go", "test"]
CMD [ "-v", "./syz-cluster/..."]
|