File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -25,10 +25,17 @@ RUN chmod +x /home/gitlab_ci/gitlab-ci/gitlabci_ctrl.rb
25
25
RUN cd /home/gitlab_ci/gitlab-ci; sudo -u gitlab_ci -H ./gitlabci_ctrl.rb --unicorn --app GITLAB_URLS="https://dev.gitlab.org/"
26
26
RUN cd /home/gitlab_ci/gitlab-ci; sudo -u gitlab_ci -H bundle exec whenever -w RAILS_ENV=production
27
27
28
+ # set owner explicitly
29
+ RUN chown gitlab_ci -R /home/gitlab_ci
30
+
28
31
# cleanup, if needed
32
+ RUN DEBIAN_FRONTEND=noninteractive apt-get clean all
29
33
# RUN DEBIAN_FRONTEND=noninteractive apt-get remove --force-yes -y ruby1.9.1-dev
30
34
# RUN DEBIAN_FRONTEND=noninteractive apt-get autoremove --force-yes -y
31
35
36
+ VOLUME ["/home/gitlab_ci/gitlab-ci/db" ]
37
+ VOLUME ["/home/gitlab_ci/gitlab-ci/log" ]
38
+
32
39
EXPOSE 9000
33
40
34
41
WORKDIR /home/gitlab_ci/gitlab-ci
You can’t perform that action at this time.
0 commit comments