[infra] Install LLVM binaries in base-runner using base-clang artifacts (#3067). (#3072)

* [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:
Max Moroz 2019-11-26 10:40:58 -08:00 committed by GitHub
parent 3891af1d18
commit 66e0e37939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 9 additions and 11 deletions

View File

@ -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 \

View File

@ -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

View File

@ -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 && \

View File

@ -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

View File

@ -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

View File

@ -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 \

View File

@ -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 \