mirror of https://github.com/google/oss-fuzz.git
[base-runner] Reduce size by ~200 MB by using apt better (#5339)
Don't install recommended packages if it means installing an entire gcc toolchain. We don't need it in the runner.
This commit is contained in:
parent
39483b8403
commit
c3124a0843
|
@ -35,19 +35,18 @@ COPY --from=base-clang /usr/local/bin/llvm-cov \
|
|||
/usr/local/bin/llvm-symbolizer \
|
||||
/usr/local/bin/
|
||||
|
||||
# TODO(metzman): Install libc6-i386 lib32gcc1 instead of libc6-dev-i386 for
|
||||
# consistency with ClusterFuzz image and to reduce size.
|
||||
RUN apt-get update && apt-get install -y \
|
||||
binutils \
|
||||
file \
|
||||
fonts-dejavu \
|
||||
git \
|
||||
libc6-dev-i386 \
|
||||
lib32gcc1 \
|
||||
libc6-i386 \
|
||||
libcap2 \
|
||||
python3 \
|
||||
python3-pip \
|
||||
wget \
|
||||
zip
|
||||
zip --no-install-recommends
|
||||
|
||||
RUN git clone https://chromium.googlesource.com/chromium/src/tools/code_coverage /opt/code_coverage && \
|
||||
pip3 install -r /opt/code_coverage/requirements.txt
|
||||
|
|
Loading…
Reference in New Issue