From a42aadc77706d9114839d974975cc04a4e6023a8 Mon Sep 17 00:00:00 2001 From: Ian Matyssik Date: Mon, 20 Mar 2017 21:58:26 +0900 Subject: [PATCH] Use yarn to install JS dependencies Since yarn is part of the image now, we should use it to install JS dependencies. --- assets/build/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/build/install.sh b/assets/build/install.sh index 7914e808..761b93cc 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -125,7 +125,7 @@ exec_as_git cp ${GITLAB_INSTALL_DIR}/config/gitlab.yml.example ${GITLAB_INSTALL_ exec_as_git cp ${GITLAB_INSTALL_DIR}/config/database.yml.mysql ${GITLAB_INSTALL_DIR}/config/database.yml # Installs nodejs packages required to compile webpack -npm install +exec_as_git yarn install --production --pure-lockfile echo "Compiling assets. Please be patient, this could take a while..." #Adding webpack compile needed since 8.17