Skip to content

Commit 333d17b

Browse files
anapsixAnastas Dancha
authored and
Anastas Dancha
committed
DOCKERFILE: adding gitlab_ci user to crontab group
1 parent 012a3f6 commit 333d17b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes libxml2-dev li
77
RUN gem install bundle --no-ri --no-rdoc
88

99
RUN adduser --disabled-login --gecos 'GitLab CI' gitlab_ci
10+
RUN usermod -a -G crontab gitlab_ci
1011

1112
RUN cd /home/gitlab_ci; sudo -u gitlab_ci -H git clone -b 5-0-stable --depth 1 https://github.com/gitlabhq/gitlab-ci.git gitlab-ci
1213
RUN cd /home/gitlab_ci/gitlab-ci; sudo -u gitlab_ci -H mkdir -p tmp/pids tmp/sockets log

0 commit comments

Comments
 (0)