Change to use docker service, added epel to base

This commit is contained in:
Deon George 2019-01-18 22:59:06 +11:00
parent 05e533e0fd
commit 3bef50d569
2 changed files with 3 additions and 3 deletions

View File

@ -7,10 +7,10 @@ stages:
variables: variables:
VERSION: "7" VERSION: "7"
CACHETAG: build CACHETAG: build
DOCKER_HOST: tcp://${CI_REGISTRY}-leenooks-ci-docker:2375 DOCKER_HOST: tcp://docker:2375
services: services:
- ${CI_REGISTRY}/leenooks/ci-docker:dind - docker:dind
before_script: before_script:
- docker info - docker info

View File

@ -4,4 +4,4 @@
FROM centos:7 FROM centos:7
RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime RUN ln -sf /usr/share/zoneinfo/Australia/Melbourne /etc/localtime
RUN yum -y install http://yum.leenooks.net/repo-7.rpm && yum clean all && rm -rf /var/tmp/* RUN yum -y install http://yum.leenooks.net/repo-7.rpm epel-release && yum clean all && rm -rf /var/tmp/*