mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-18 13:58:25 +00:00
install: do not create the ${GITLAB_DATA_DIR}/.ssh directory, its created in the init script
This commit is contained in:
parent
0365e9d68f
commit
8aba575f89
@ -28,8 +28,8 @@ rm -rf /etc/ssh/ssh_host_*_key /etc/ssh/ssh_host_*_key.pub
|
||||
adduser --disabled-login --gecos 'GitLab' git
|
||||
passwd -d git
|
||||
|
||||
# create symlink to ${DATA_DIR}/.ssh
|
||||
rm -rf /home/git/.ssh
|
||||
sudo -u git -H mkdir -p ${GITLAB_DATA_DIR}/.ssh
|
||||
sudo -u git -H ln -s ${GITLAB_DATA_DIR}/.ssh /home/git/.ssh
|
||||
|
||||
# create the data store
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user