Skip to content

Commit 27f43cf

Browse files
committed
Updates
1 parent 3f9e072 commit 27f43cf

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

Dockerfile

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,27 @@ RUN ln -s /usr/bin/gem2.1 /usr/bin/gem \
5050
RUN gem install --no-document bundler
5151

5252
COPY assets/setup/ ${SETUP_DIR}/
53+
USER ${GITLAB_USER}
5354
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
5874
RUN bash ${SETUP_DIR}/partII.sh
5975

6076
# Clean Up

assets/setup/partII.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
#!/bin/bash
22
set -e
33

4+
cd ${GITLAB_INSTALL_DIR}
5+
46
# install gems required by gitlab, use local cache if available
57
if [[ -d ${GEM_CACHE_DIR} ]]; then
68
mv ${GEM_CACHE_DIR} vendor/

0 commit comments

Comments
 (0)