github.com/metacubex/quic-go@v0.44.1-0.20240520163451-20b689a59136/.clusterfuzzlite/Dockerfile (about)

     1  FROM gcr.io/oss-fuzz-base/base-builder-go:v1
     2  
     3  ARG TARGETPLATFORM
     4  RUN echo "TARGETPLATFORM: ${TARGETPLATFORM}"
     5  
     6  ENV GOVERSION=1.21.5
     7  
     8  RUN platform=$(echo ${TARGETPLATFORM} | tr '/' '-') && \
     9    filename="go${GOVERSION}.${platform}.tar.gz" && \
    10    wget https://dl.google.com/go/${filename} && \
    11    mkdir temp-go && \
    12    rm -rf /root/.go/* && \
    13    tar -C temp-go/ -xzf ${filename} && \
    14    mv temp-go/go/* /root/.go/ && \
    15    rm -r ${filename} temp-go
    16  
    17  RUN apt-get update && apt-get install -y make autoconf automake libtool
    18  
    19  COPY . $SRC/quic-go
    20  WORKDIR quic-go
    21  COPY .clusterfuzzlite/build.sh $SRC/