Skip to content

Commit a35d258

Browse files
committed
Cache zypper files
1 parent b50f36c commit a35d258

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ RUN --mount=type=cache,target=/root/.npm \
1515
npm install
1616

1717
FROM registry.opensuse.org/opensuse/bci/openjdk:21
18-
RUN zypper --non-interactive install gettext-tools
18+
RUN --mount=type=cache,id=zypper-cache,target=/var/cache/zypper \
19+
--mount=type=cache,id=zypper-lib,target=/var/lib/zypper \
20+
zypper --non-interactive install gettext-tools
1921
WORKDIR /opt/openrefine
2022
COPY --from=backend /opt/openrefine/server server/
2123
COPY --from=backend /opt/openrefine/main main/

0 commit comments

Comments
 (0)