mirror of
https://github.com/sameersbn/docker-gitlab.git
synced 2026-01-25 14:08:09 +00:00
renamed gitlab script to init
This commit is contained in:
parent
ea48ce478e
commit
d239948b30
@ -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"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user