Skip to content

Commit

Permalink
Init submodules after the checkout but before the patches
Browse files Browse the repository at this point in the history
  • Loading branch information
dani-garcia committed Apr 27, 2021
1 parent 55857f4 commit 12b207f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,11 @@ USER node
# Using https://github.com/bitwarden/web/releases/tag/v2.19.0
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

RUN git checkout "$VAULT_VERSION"
RUN git submodule update --recursive --init

COPY --chown=node:node patches /patches
COPY --chown=node:node apply_patches.sh /apply_patches.sh
Expand Down

0 comments on commit 12b207f

Please sign in to comment.