This commit is contained in:
EXP
2021-05-20 22:44:20 +08:00
commit d68fc30935
24 changed files with 457 additions and 0 deletions

13
runner/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM gitlab/gitlab-runner:ubuntu-v13.10.0
RUN sed -i s@/deb.debian.org/@/mirrors.aliyun.com/@g /etc/apt/sources.list
RUN apt-get clean && \
apt-get update -y && \
apt-get install -y sudo vim zlib1g-dev ruby-dev gcc libffi-dev make g++ ruby ruby-dev nodejs
# 替换gem国内源
RUN gem sources --add http://gems.ruby-china.com/ --remove https://rubygems.org/ && \
gem install bundler
RUN usermod -a -G sudo gitlab-runner

0
runner/config/.keep Normal file
View File

1
runner/gitlab-runner Normal file
View File

@@ -0,0 +1 @@
gitlab-runner ALL=(ALL) NOPASSWD: ALL