mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
remove the builds and shared directories at build time. refer #509
This commit is contained in:
parent
1a5f91d43b
commit
5d44415802
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user