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