FROM centos:7
ENV container docker
MAINTAINER info@spillbox.io

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo
RUN sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo
RUN sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum check-update -v || true
RUN yum -y install http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-1.noarch.rpm
RUN yum -y install gcc sudo which shc

VOLUME ["/sys/fs/cgroup"]
VOLUME ["/run"]
VOLUME ["/opt"]
