github.com/lzhfromustc/gofuzz@v0.0.0-20211116160056-151b3108bbd1/playground.Dockerfile (about) 1 # TODO: use multi-stage build to reduce image size 2 3 FROM golang:1.16.4 4 5 RUN apt update \ 6 && apt -y install python3 7 8 WORKDIR /gofuzz 9 COPY scripts ./scripts 10 11 WORKDIR /repos 12 # RUN /gofuzz/scripts/clone-repos.sh 13 14 WORKDIR /gofuzz 15 # copy source files to docker 16 COPY goFuzz ./goFuzz 17 COPY benchmark/run.py ./benchmark/run.py 18 COPY sync ./sync 19 COPY runtime ./runtime 20 COPY time ./time 21 COPY reflect ./reflect 22 RUN cd goFuzz && make build 23 24 WORKDIR /playground