This repository was archived by the owner on Oct 17, 2019. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM gitlab/gitlab-ce:latest
2- MAINTAINER Computer Science House
1+ FROM gitlab/gitlab-ce:11.3.6-ce.0
2+ MAINTAINER Computer Science House <rtp@csh.rit.edu>
33
44# Install the OpenID Connect strategy for OmniAuth
55RUN cd /opt/gitlab/embedded/service/gitlab-rails \
66 && printf "\n # OpenID Connect OmniAuth strategy\n gem 'omniauth-openid-connect'" >> Gemfile \
77 && /opt/gitlab/embedded/bin/bundle install --without development test
88
9- # Add patches to the container
10- ADD patches/*.patch /tmp/
11-
12- # Apply patches
13- RUN apt-get -y update \
14- && apt-get -y install patch \
15- && patch /opt/gitlab/embedded/service/gitlab-rails/app/controllers/omniauth_callbacks_controller.rb /tmp/omniauth_callbacks_controller.patch \
16- && patch /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/o_auth/user.rb /tmp/user.rb.patch \
17- && patch /opt/gitlab/embedded/service/gitlab-rails/lib/gitlab/ldap/person.rb /tmp/person.rb.patch \
18- && apt-get -y remove patch \
19- && apt-get -y clean \
20- && rm -f /tmp/*.patch
21-
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments