Merge pull request #564 from internetee/registry-563

Remove Docker config
This commit is contained in:
Timo Võhmar 2017-06-21 10:29:06 +03:00 committed by GitHub
commit b5d48e3475
2 changed files with 0 additions and 44 deletions

View file

View file

@ -1,44 +0,0 @@
FROM gitlab/registry
MAINTAINER Gitlab <info@gitlab.eu>
# Initial build
# SSH authorized keys setup
# ADD ./doc/docker/ssh/authorized_keys /root/.ssh/authorized_keys
#
# Apache2 setup
ADD ./doc/docker/apache2/ /etc/apache2/sites-enabled
# Use baseimage-docker's init process.
CMD ["/sbin/my_init"]
# Set correct environment variables.
ENV RAILS_ENV production
ENV HOME /home/app
# Registry
# WORKDIR /home/app/registry
# ADD . /home/app/registry
# RUN chown -R app:www-data .; chmod -R 750 .; chmod g+s .; umask 027
# RUN setuser app ls -la /home/app/registry/vendor/
# # RUN setuser app ls -la /home/app/registry/vendor/bundle
# RUN rm /home/app/registry/vendor/bundle -rf
# RUN setuser app bundle install --deployment
# RUN setuser app rake assets:precompile
# Registry test
# WORKDIR /home/app/registry-test
# ADD . /home/app/registry-test
# RUN chown -R app:www-data .; chmod -R 750 .; chmod g+s .; umask 027
# RUN setuser app bundle install
# Ports
# Registry admin:
EXPOSE 80
# EPP:
EXPOSE 700
# Test env what jenkins uses
# for debugging only:
# EXPOSE 81
# Clean up when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*