diff --git a/Dockerfile b/Dockerfile index 7fd6e887..91074e89 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/assets/gitlab b/assets/init similarity index 100% rename from assets/gitlab rename to assets/init