mirror of https://github.com/google/oss-fuzz.git
[infra] Remove unneeded binaries, docs from CMake install (#5161)
This should reduce the image layer size from 127 MB to 57 MB
This commit is contained in:
parent
98e9d24579
commit
d7164ef352
|
@ -25,7 +25,8 @@ RUN apt-get update && apt-get install -y wget sudo && \
|
||||||
chmod +x cmake-$CMAKE_VERSION-Linux-x86_64.sh && \
|
chmod +x cmake-$CMAKE_VERSION-Linux-x86_64.sh && \
|
||||||
./cmake-$CMAKE_VERSION-Linux-x86_64.sh --skip-license --prefix="/usr/local" && \
|
./cmake-$CMAKE_VERSION-Linux-x86_64.sh --skip-license --prefix="/usr/local" && \
|
||||||
rm cmake-$CMAKE_VERSION-Linux-x86_64.sh && \
|
rm cmake-$CMAKE_VERSION-Linux-x86_64.sh && \
|
||||||
SUDO_FORCE_REMOVE=yes apt-get remove --purge -y wget sudo
|
SUDO_FORCE_REMOVE=yes apt-get remove --purge -y wget sudo && \
|
||||||
|
rm -rf /usr/local/doc/cmake /usr/local/bin/cmake-gui
|
||||||
|
|
||||||
COPY checkout_build_install_llvm.sh /root/
|
COPY checkout_build_install_llvm.sh /root/
|
||||||
# Keep all steps in the same script to decrease the number of intermediate
|
# Keep all steps in the same script to decrease the number of intermediate
|
||||||
|
|
Loading…
Reference in New Issue