Thanks Newton! On Thu, Oct 2, 2014 at 11:06 AM, Newton Alex <[email protected]> wrote:
> Weird. Not sure if the mailer daemon is stripping the attachments. Anyway > here is the content. Just copy paste it into a file and call it Dockerfile. > > > ---------------- > > FROM centos:centos6 > > > ## Install some basic utilities that aren't in the default image > > RUN yum -y install wget rpm-build sudo which telnet tar > > RUN rpm -e --nodeps --justdb glibc-common > > RUN yum -y install glibc-common > > > #Install JAVA > > RUN wget --no-check-certificate --no-cookies --header "Cookie: > oraclelicense=accept-securebackup-cookie" > http://download.oracle.com/otn-pub/java/jdk/7u55-b13/jdk-7u55-linux-x64.rpm > -O jdk-7u55-linux-x64.rpm > > RUN yum -y install jdk-7u55-linux-x64.rpm > > ENV JAVA_HOME /usr/java/default/ > > > #Install Maven > > RUN mkdir -p /opt/maven > > WORKDIR /opt/maven > > RUN wget > > http://apache.cs.utah.edu/maven/maven-3/3.0.5/binaries/apache-maven-3.0.5-bin.tar.gz > > RUN tar -xvzf /opt/maven/apache-maven-3.0.5-bin.tar.gz > > RUN rm -rf /opt/maven/apache-maven-3.0.5-bin.tar.gz > > ENV M2_HOME /opt/maven/apache-maven-3.0.5 > > ENV PATH $PATH:$JAVA_HOME/bin:$M2_HOME/bin > > RUN mvn -version > > > #Install python setuptools > > RUN yum -y install python-setuptools > > > # Install NodeJs and npm > > RUN yum -y install > http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm > > RUN yum -y install nodejs npm --enablerepo=epel > > > #Install brunch > > RUN npm install -g [email protected] > > > #Install git > > RUN yum -y install git > > > #bashrc settings > > RUN echo "alias ll='ls -l'" >> ~/.bashrc && source ~/.bashrc > > > #Change working directory to / > > WORKDIR / > ---------------- > > - > Newton > > On Thu, Oct 2, 2014 at 10:50 AM, Chandrasekhar Gopal <[email protected]> > wrote: > > > I don't see an attachment here. > > > > On Thu, Oct 2, 2014 at 9:30 AM, Newton Alex <[email protected]> wrote: > > > > > I had developed one initially a few months ago. Attached here. > > > > > > - > > > Newton > > > > > > On Wed, Oct 1, 2014 at 9:53 PM, jun aoki <[email protected]> wrote: > > > > > >> Yusaku has provided vagrantfiles. > > >> Do we have something similar but Dockerfile? > > >> I'm a docker fun :) > > >> > > >> -- > > >> -jun > > >> > > > > > > > > > > > > -- > > Chandrasekhar Gopal > > Pivotal Hadoop -- Build, Release and Deployments > > [email protected] > > > -- -jun
