mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-03-13 19:37:49 +01:00
build.Containerfile: use cache for Gradle/Maven build artifacts
This commit is contained in:
parent
9a88527465
commit
e8b457b15b
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ WORKDIR /home/builder
|
|||
COPY --chown=builder / project/
|
||||
|
||||
# build project
|
||||
RUN /usr/bin/gradle --project-dir project/ \
|
||||
RUN --mount=target=/home/builder/.gradle,type=cache,uid=1000,gid=1000,sharing=locked \
|
||||
/usr/bin/gradle --project-dir project/ \
|
||||
--no-build-cache --no-daemon --no-parallel \
|
||||
-Dmaven.repo.local=repo \
|
||||
clean ${ADDITIONAL_GRADLE_TASK} :bitcoinj-core:publishToMavenLocal :bitcoinj-wallettool:installDist
|
||||
|
|
Loading…
Add table
Reference in a new issue