istio.io/istio@v0.0.0-20240520182934-d79c90f27776/tests/fuzz/Dockerfile.fuzz (about)

     1  # Copyright 2021 Istio Authors
     2  #
     3  #   Licensed under the Apache License, Version 2.0 (the "License");
     4  #   you may not use this file except in compliance with the License.
     5  #   You may obtain a copy of the License at
     6  #
     7  #       http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  #   Unless required by applicable law or agreed to in writing, software
    10  #   distributed under the License is distributed on an "AS IS" BASIS,
    11  #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  #   See the License for the specif
    13  
    14  FROM golang:1.15
    15  
    16  RUN apt-get update && \
    17      apt-get install --no-install-recommends -y \
    18      clang && \
    19      apt-get clean && \
    20      rm -rf  /var/log/*log \
    21      /var/lib/apt/lists/* \
    22      /var/log/apt/* \
    23      /var/lib/dpkg/*-old \
    24      /var/cache/debconf/*-old
    25  
    26  RUN go get -u github.com/dvyukov/go-fuzz/go-fuzz \
    27      github.com/dvyukov/go-fuzz/go-fuzz-dep \
    28      github.com/dvyukov/go-fuzz/go-fuzz-build
    29  
    30  COPY . /istio
    31  WORKDIR /istio
    32