moved git user password deletion command to the install script

This commit is contained in:
Sameer Naik 2014-05-08 20:57:30 +05:30
parent b8266c0bf4
commit fd6f0ffe35
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ RUN /app/setup/install
ADD assets/config/ /app/setup/config/
ADD assets/init /app/init
RUN chmod 755 /app/init && passwd -d git
RUN chmod 755 /app/init
ADD authorized_keys /root/.ssh/

View File

@ -6,6 +6,7 @@ SHELL_VERSION=1.9.4
# add git user
adduser --disabled-login --gecos 'GitLab' git
passwd -d git
rm -rf /home/git/.ssh
sudo -u git -H mkdir -p /home/git/data/.ssh