CentOS6 base image
This commit is contained in:
parent
025abc9d8e
commit
4bbc2fb76b
@ -8,7 +8,7 @@ services:
|
||||
- leenooks/ci-docker:dind
|
||||
|
||||
variables:
|
||||
VERSION: latest
|
||||
VERSION: "6"
|
||||
|
||||
before_script:
|
||||
- test -n "${REGISTRY}" # Needs to be set in project
|
||||
@ -34,4 +34,4 @@ build:
|
||||
tags:
|
||||
- docker
|
||||
only:
|
||||
- master
|
||||
- c6
|
||||
|
@ -1,9 +1,9 @@
|
||||
# NAME leenooks/base
|
||||
# VERSION latest
|
||||
# VERSION 6
|
||||
# BUILD docker build -t="leenooks/base" .
|
||||
|
||||
FROM centos:latest
|
||||
FROM centos:6
|
||||
MAINTAINER deon@leenooks.net
|
||||
|
||||
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/*
|
||||
|
Reference in New Issue
Block a user