mirror of https://github.com/google/oss-fuzz.git
spring-boot: fix missing folder for jdk17 (#7813)
Fix missing folder for jdk17
This commit is contained in:
parent
e36b080f59
commit
f96a9ca1d3
|
@ -25,6 +25,7 @@ RUN git clone --depth 1 https://github.com/dvyukov/go-fuzz-corpus && \
|
|||
rm -rf go-fuzz-corpus
|
||||
|
||||
ARG java_home="/out/open-jdk-17"
|
||||
RUN mkdir -p $JAVA_HOME
|
||||
|
||||
RUN apt update && apt install -y openjdk-17-jdk
|
||||
ENV JAVA_HOME $java_home
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
mv $SRC/{*.zip,*.dict} $OUT
|
||||
|
||||
cp -r "/usr/lib/jvm/java-17-openjdk-amd64/" "$JAVA_HOME"
|
||||
cp -r "/usr/lib/jvm/java-17-openjdk-amd64/." "$JAVA_HOME"
|
||||
|
||||
CURRENT_VERSION=$(./gradlew properties --no-daemon --console=plain | sed -nr "s/^version:\ (.*)/\1/p")
|
||||
|
||||
|
|
Loading…
Reference in New Issue