Skip to content

Commit 499b437

Browse files
committed
faster
1 parent f418687 commit 499b437

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ WORKDIR /tmp/build
2424
# Copy all project files for the build
2525
COPY --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
3130
RUN 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
3635
RUN rm -rf /tmp/build

0 commit comments

Comments
 (0)