From 5d44415802468100dd22ed6581a274d59eff7ecf Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Tue, 24 Nov 2015 12:48:19 +0530 Subject: [PATCH] remove the `builds` and `shared` directories at build time. refer #509 --- assets/build/install.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/assets/build/install.sh b/assets/build/install.sh index 0fe9637a..7d351c7e 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -105,6 +105,9 @@ exec_as_git ln -sf ${GITLAB_DATA_DIR}/uploads ${GITLAB_INSTALL_DIR}/public/uploa rm -rf ${GITLAB_INSTALL_DIR}/.secret exec_as_git ln -sf ${GITLAB_DATA_DIR}/.secret ${GITLAB_INSTALL_DIR}/.secret +# WORKAROUND for https://github.com/sameersbn/docker-gitlab/issues/509 +rm -rf ${GITLAB_INSTALL_DIR}/builds +rm -rf ${GITLAB_INSTALL_DIR}/shared # install gitlab bootscript, to silence gitlab:check warnings cp ${GITLAB_INSTALL_DIR}/lib/support/init.d/gitlab /etc/init.d/gitlab