Skip to content

Commit c9f1f51

Browse files
committed
build: clone web-library modules with submodules
1 parent 3468dc1 commit c9f1f51

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Dockerfile.web-library

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ RUN mkdir -p /app/web-library-build \
1717

1818
# Fetch upstream submodules (the subtree does not vend them)
1919
WORKDIR /app/web-library-build
20-
RUN git clone --depth 1 https://github.com/citation-style-language/locales.git modules/locales \
21-
&& git clone --depth 1 https://github.com/zotero/reader.git modules/reader \
22-
&& git clone --depth 1 https://github.com/zotero/pdf-worker.git modules/pdf-worker \
23-
&& git clone --depth 1 https://github.com/zotero/note-editor.git modules/note-editor \
24-
&& git clone --depth 1 https://github.com/zotero/web-common.git modules/web-common \
25-
&& git clone --depth 1 https://github.com/zotero/zotero-schema.git modules/zotero-schema
20+
RUN git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/citation-style-language/locales.git modules/locales \
21+
&& git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/zotero/reader.git modules/reader \
22+
&& git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/zotero/pdf-worker.git modules/pdf-worker \
23+
&& git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/zotero/note-editor.git modules/note-editor \
24+
&& git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/zotero/web-common.git modules/web-common \
25+
&& git clone --depth 1 --recurse-submodules --shallow-submodules https://github.com/zotero/zotero-schema.git modules/zotero-schema
2626

2727
# Build Web Library (combined subtree + overlay)
2828
RUN npm ci \

0 commit comments

Comments
 (0)