mirror of https://github.com/google/oss-fuzz.git
* [infra] Install LLVM binaries in base-runner using base-clang artifacts (#3067). * add one more comment and remove MAINTAINER lines from all images
This commit is contained in:
parent
3891af1d18
commit
66e0e37939
|
@ -15,7 +15,6 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-clang
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
RUN apt-get install -y git \
|
||||
subversion \
|
||||
jq \
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
# Docker image with head clang installed.
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-image
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
|
||||
COPY checkout_build_install_llvm.sh /root/
|
||||
# Keep all steps in the same script to decrease the number of intermediate
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
# Base image for all other images.
|
||||
|
||||
FROM ubuntu:16.04
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
RUN apt-get update && \
|
||||
apt-get upgrade -y && \
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-clang
|
||||
MAINTAINER ochang@google.com
|
||||
RUN sed -i -r 's/#\s*deb-src/deb-src/g' /etc/apt/sources.list
|
||||
RUN apt-get update && apt-get install -y python dpkg-dev patchelf python-apt zip
|
||||
|
||||
|
|
|
@ -15,6 +15,4 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-runner
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
RUN apt-get install -y gdb valgrind zip
|
||||
|
||||
|
|
|
@ -14,8 +14,16 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Using multi-stage build to copy some LLVM binaries needed in the runner image.
|
||||
FROM gcr.io/oss-fuzz-base/base-clang AS base-clang
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-image
|
||||
MAINTAINER mike.aizatsky@gmail.com
|
||||
|
||||
# Copy the binaries needed for code coverage and crash symbolization.
|
||||
COPY --from=base-clang /usr/local/bin/llvm-cov /usr/local/bin/
|
||||
COPY --from=base-clang /usr/local/bin/llvm-profdata /usr/local/bin/
|
||||
COPY --from=base-clang /usr/local/bin/llvm-symbolizer /usr/local/bin/
|
||||
|
||||
RUN apt-get install -y \
|
||||
binutils \
|
||||
file \
|
||||
|
@ -35,9 +43,6 @@ COPY bad_build_check \
|
|||
coverage \
|
||||
coverage_helper \
|
||||
download_corpus \
|
||||
llvm-cov \
|
||||
llvm-profdata \
|
||||
llvm-symbolizer \
|
||||
minijail0 \
|
||||
reproduce \
|
||||
run_fuzzer \
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -15,7 +15,6 @@
|
|||
################################################################################
|
||||
|
||||
FROM gcr.io/oss-fuzz-base/base-msan-builder
|
||||
MAINTAINER ochang@google.com
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
RUN msan_build.py --work-dir=$WORK \
|
||||
libarchive13 \
|
||||
|
|
Loading…
Reference in New Issue