Public Repository

Last pushed: 2 years ago
Short Description
Centos7 Base image
Full Description

=====================================================================

#

Creates a base CentOS image (dynamus/base:v01)

#

Based on Siamak Sadeghianfar ssadeghi@redhat.com

https://github.com/siamaksade/docker-images

sudo docker build -t dynamus/base:v01 .

=====================================================================

Use the centos base image

FROM centos:centos7

MAINTAINER MARGARIDO Alberto analista@dynamusclube.com.br

USER root

ENV LANG en_US.utf8
ENV LC_ALL en_US.utf8
ENV LANGUAGE en_US.utf8

#Install EPEL
RUN yum -y localinstall https://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

Update the system

RUN yum -y update; yum clean all

--------------------------------------------------------

Install Java JDK and other useful cmdline utilities

--------------------------------------------------------

RUN yum -y install \
java-1.7.0-openjdk-devel \
which \
unzip \
sudo \
openssh-clients \
iputils \
iproute \
httpd-tools \
wget \
vim \
initscripts \
tar; yum clean all
ENV JAVA_HOME /usr/lib/jvm/jre

------------------------------------------

Install Supervisor

------------------------------------------

RUN yum -y install supervisor

CMD true

Docker Pull Command
Owner
dynamus

Comments (0)