Skip to content

Commit

Permalink
build: no longer rely on layer caching for gradle deps
Browse files Browse the repository at this point in the history
  • Loading branch information
chgl committed May 9, 2024
1 parent fe8e029 commit db48da1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM docker.io/library/gradle:8.6.0-jdk17@sha256:27ed98487dd9c155d555955084dfd33f32d9f7ac5a90a79b1323ab002a1a8b6e AS build
WORKDIR /home/gradle/project

COPY build.gradle settings.gradle ./
RUN --mount=type=cache,target=/home/gradle/.gradle/caches gradle clean build --no-daemon || true

COPY --chown=gradle:gradle . .

RUN --mount=type=cache,target=/home/gradle/.gradle/caches <<EOF
Expand Down

0 comments on commit db48da1

Please sign in to comment.