File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1.5.1
2- FROM gradle:6.9.4-jdk11@sha256:a21f8e1124fefb9b2affc85b7fa3bc856297056678b5cc882a61a8d6249da3a2 AS builder
2+ FROM base AS download
33
4- WORKDIR /build
4+ WORKDIR /opt/download
55
66# renovate: datasource=github-releases depName=alpaca packageName=islandora/alpaca
77ARG ALPACA_VERSION=2.4.0
@@ -12,6 +12,12 @@ RUN download.sh \
1212 --sha256 "${ALPACA_SHA256}" \
1313 --dest .
1414
15+ FROM gradle:6.9.4-jdk11@sha256:a21f8e1124fefb9b2affc85b7fa3bc856297056678b5cc882a61a8d6249da3a2 AS builder
16+
17+ WORKDIR /build
18+
19+ COPY --from=base /opt/download .
20+
1521RUN --mount=type=cache,id=alpaca-gradle,sharing=locked,target=/root/.gradle \
1622 ./gradlew --stacktrace clean build shadowJar --no-daemon
1723
You can’t perform that action at this time.
0 commit comments