Add missing Java AWT dependency (#5644)

The library libXext.so.6 is required by some Java AWT classes even in
headless environments.

This fixes a crash in apache-commons:
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=33489
This commit is contained in:
Fabian Meumertzheim 2021-04-20 22:10:13 +02:00 committed by GitHub
parent 3590c2d4ec
commit f393c97b11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,9 @@ RUN wget https://download.java.net/java/GA/jdk15.0.2/0d1cfde4252546c6931946de8db
rm -f openjdk-15.0.2_linux-x64_bin.tar.gz && \
rm -rf $JAVA_HOME/jmods $JAVA_HOME/lib/src.zip
# Install Java AWT dependencies.
RUN apt-get install libxext-dev -y
# Do this last to make developing these files easier/faster due to caching.
COPY bad_build_check \
collect_dft \