CentOS7 base image

This commit is contained in:
Deon George 2016-07-08 00:04:11 +10:00
parent 4bbc2fb76b
commit 7c74cbf76e
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ services:
- leenooks/ci-docker:dind - leenooks/ci-docker:dind
variables: variables:
VERSION: "6" VERSION: "7"
before_script: before_script:
- test -n "${REGISTRY}" # Needs to be set in project - test -n "${REGISTRY}" # Needs to be set in project
@ -34,4 +34,4 @@ build:
tags: tags:
- docker - docker
only: only:
- c6 - c7

View File

@ -1,9 +1,9 @@
# NAME leenooks/base # NAME leenooks/base
# VERSION 6 # VERSION 7
# BUILD docker build -t="leenooks/base" . # BUILD docker build -t="leenooks/base" .
FROM centos:6 FROM centos:7
MAINTAINER deon@leenooks.net MAINTAINER deon@leenooks.net
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-6.rpm && yum -y update && yum clean all && rm -rf /var/tmp/* RUN yum -y install http://yum.leenooks.net/repo-7.rpm && yum -y update && yum clean all && rm -rf /var/tmp/*