File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,12 @@ WORKDIR /tmp/build
2424# Copy all project files for the build
2525COPY --chown=vscode:vscode . ./
2626
27- # Pre-populate Gradle cache by running assemble
27+ # Pre-populate Gradle dependency and build caches by compiling all classes
2828# Use --no-daemon to avoid leaving daemon processes running
29- # Skip javadoc to speed up the build and avoid external dependency issues
3029# Set JAVA_HOME dynamically based on the actual installation
3130RUN export JAVA_HOME=$(find /usr/lib/jvm -name "msopenjdk-17-*" -type d | head -1) && \
3231 export PATH="$JAVA_HOME/bin:$PATH" && \
33- ./gradlew assemble -x javadoc --no-daemon
32+ ./gradlew classes --no-daemon
3433
3534# Clean up the build directory but preserve gradle cache
3635RUN rm -rf /tmp/build
You can’t perform that action at this time.
0 commit comments