renamed gitlab script to init

This commit is contained in:
Sameer Naik 2014-03-12 22:20:56 +05:30
parent ea48ce478e
commit d239948b30
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ RUN wget ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p353.tar.gz -O - | tar
ADD assets/ /gitlab/
RUN mv /gitlab/.vimrc /gitlab/.bash_aliases /root/
RUN chmod 755 /gitlab/gitlab /gitlab/setup/install && /gitlab/setup/install
RUN chmod 755 /gitlab/init /gitlab/setup/install && /gitlab/setup/install
ADD authorized_keys /root/.ssh/
RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys && chown root:root -R /root/.ssh
@ -41,5 +41,5 @@ RUN chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys && chown root:r
EXPOSE 22
EXPOSE 80
ENTRYPOINT ["/gitlab/gitlab"]
ENTRYPOINT ["/gitlab/init"]
CMD ["app:start"]