From 7c74cbf76eaaf91c24811ced84b91970026aa3c9 Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 8 Jul 2016 00:04:11 +1000 Subject: [PATCH] CentOS7 base image --- .gitlab-ci.yml | 4 ++-- Dockerfile | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 908dc59..a2365e9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index 448ca21..7175873 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*