From 4bbc2fb76b5e8c10e88ab129f8ef65f076ee48ba Mon Sep 17 00:00:00 2001 From: Deon George Date: Thu, 7 Jul 2016 23:59:39 +1000 Subject: [PATCH] CentOS6 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 4294502..908dc59 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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 diff --git a/Dockerfile b/Dockerfile index d17cbd0..448ca21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*