File tree 2 files changed +22
-4
lines changed 2 files changed +22
-4
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,27 @@ RUN ln -s /usr/bin/gem2.1 /usr/bin/gem \
50
50
RUN gem install --no-document bundler
51
51
52
52
COPY assets/setup/ ${SETUP_DIR}/
53
+ USER ${GITLAB_USER}
53
54
RUN bash ${SETUP_DIR}/partI.sh
54
- RUN gem install actionview activesupport autoprefixer-rails \
55
- nokogiri i18n rack activemodel execjs rails-observers rack sass \
56
- builder RedCloth actionmailer erubis mime-types
57
-
55
+ RUN gem install builder
56
+ RUN gem install minitest
57
+ RUN gem install activesupport
58
+ RUN gem install autoprefixer-rails
59
+ RUN gem install nokogiri
60
+ RUN gem install i18n
61
+ RUN gem install rack
62
+ RUN gem install activemodel
63
+ RUN gem install execjs
64
+ RUN gem install rails-observers
65
+ RUN gem install rack
66
+ RUN gem install sass
67
+ RUN gem install RedCloth
68
+ RUN gem install actionmailer
69
+ RUN gem install erubis
70
+ RUN gem install mime-types
71
+ RUN gem install actionview
72
+ RUN gem install carrierwave
73
+ USER root
58
74
RUN bash ${SETUP_DIR}/partII.sh
59
75
60
76
# Clean Up
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
+ cd ${GITLAB_INSTALL_DIR}
5
+
4
6
# install gems required by gitlab, use local cache if available
5
7
if [[ -d ${GEM_CACHE_DIR} ]]; then
6
8
mv ${GEM_CACHE_DIR} vendor/
You can’t perform that action at this time.
0 commit comments