Skip to content

Instantly share code, notes, and snippets.

@tamanugi
Last active January 29, 2018 01:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tamanugi/9155f33c678ed917cf1d8d61b29408c8 to your computer and use it in GitHub Desktop.
Save tamanugi/9155f33c678ed917cf1d8d61b29408c8 to your computer and use it in GitHub Desktop.
[メモ]CentOS7にGitlab-runnerとDockerを構築 ref: https://qiita.com/tamanugi/items/fedbd60f8b1b907727b4
$ sudo yum install -y yum-utils \
device-mapper-persistent-data \
lvm2
$ sudo yum-config-manager \
--add-repo \
https://download.docker.com/linux/centos/docker-ce.repo
$ sudo yum install docker-ce
$ sudo systemctl start docker
$ sudo docker run hello-world
$ curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | sudo bash
$ yum install gitlab-runner
$ gitlab-runner register
# 必要な情報を入力していく
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment