diff --git a/Dockerfile b/Dockerfile index 8cafd46..a2b5529 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,7 +25,7 @@ USER node # Using https://github.com/bitwarden/web/releases/tag/v2.18.1 ARG VAULT_VERSION=9326a9a4a723d7e57943776d7b356132f40aeec2 -RUN git clone https://github.com/bitwarden/web.git /vault +RUN git clone --recurse-submodules https://github.com/bitwarden/web.git /vault WORKDIR /vault RUN git checkout "$VAULT_VERSION" diff --git a/package_web_vault.sh b/package_web_vault.sh index b14ac33..c5787a6 100755 --- a/package_web_vault.sh +++ b/package_web_vault.sh @@ -22,7 +22,7 @@ mkdir -p "$OUTPUT_FOLDER" # If this is the first time, clone the project if [ ! -d "$VAULT_FOLDER" ]; then - git clone --recursive https://github.com/bitwarden/web.git "$VAULT_FOLDER" + git clone --recurse-submodules https://github.com/bitwarden/web.git "$VAULT_FOLDER" fi cd $VAULT_FOLDER