mirror of
https://github.com/dani-garcia/bw_web_builds.git
synced 2024-12-27 21:08:16 +03:00
Init submodules after the checkout but before the patches
This commit is contained in:
parent
55857f45f8
commit
12b207fcd4
1 changed files with 2 additions and 1 deletions
|
@ -25,10 +25,11 @@ USER node
|
||||||
# Using https://github.com/bitwarden/web/releases/tag/v2.19.0
|
# Using https://github.com/bitwarden/web/releases/tag/v2.19.0
|
||||||
ARG VAULT_VERSION=9d42a565dbef29c5c361dbe5b3db88d765d65a98
|
ARG VAULT_VERSION=9d42a565dbef29c5c361dbe5b3db88d765d65a98
|
||||||
|
|
||||||
RUN git clone --recurse-submodules https://github.com/bitwarden/web.git /vault
|
RUN git clone https://github.com/bitwarden/web.git /vault
|
||||||
WORKDIR /vault
|
WORKDIR /vault
|
||||||
|
|
||||||
RUN git checkout "$VAULT_VERSION"
|
RUN git checkout "$VAULT_VERSION"
|
||||||
|
RUN git submodule update --recursive --init
|
||||||
|
|
||||||
COPY --chown=node:node patches /patches
|
COPY --chown=node:node patches /patches
|
||||||
COPY --chown=node:node apply_patches.sh /apply_patches.sh
|
COPY --chown=node:node apply_patches.sh /apply_patches.sh
|
||||||
|
|
Loading…
Reference in a new issue