CentOS6 base image

This commit is contained in:
Deon George 2016-07-07 23:59:39 +10:00
parent 025abc9d8e
commit 4bbc2fb76b
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: latest VERSION: "6"
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:
- master - c6

View File

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