Skip to content

Commit

Permalink
Chain RUN commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohrab Hosseini committed Mar 24, 2015
1 parent 4c9dd47 commit b04194f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Dockerfile
Expand Up @@ -2,27 +2,27 @@ FROM debian:wheezy
MAINTAINER sohrab <sohrab@sixtree.com.au>

# install supporting tools
RUN apt-get update
RUN apt-get install -y procps wget
RUN apt-get update && \
apt-get install -y procps wget

WORKDIR /tmp

# install Oracle JRE
RUN wget --no-check-certificate --no-cookies \
--header "Cookie: oraclelicense=accept-securebackup-cookie" \
http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jre-7u75-linux-x64.tar.gz
RUN tar -zxf jre-7u75-linux-x64.tar.gz -C /opt
RUN ln -s /opt/jre1.7.0_75 /opt/jre
RUN update-alternatives --install /usr/bin/java java /opt/jre/bin/java 100
http://download.oracle.com/otn-pub/java/jdk/7u75-b13/jre-7u75-linux-x64.tar.gz && \
tar -zxf jre-7u75-linux-x64.tar.gz -C /opt && \
ln -s /opt/jre1.7.0_75 /opt/jre && \
update-alternatives --install /usr/bin/java java /opt/jre/bin/java 100

ENV JAVA_HOME /opt/jre
ENV JRE_HOME $JAVA_HOME

# install Mule CE
RUN wget --no-check-certificate \
https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/3.6.1/mule-standalone-3.6.1.tar.gz
RUN tar -zxf mule-standalone-3.6.1.tar.gz -C /opt
RUN ln -s /opt/mule-standalone-3.6.1 /opt/mule
https://repository-master.mulesoft.org/nexus/content/repositories/releases/org/mule/distributions/mule-standalone/3.6.1/mule-standalone-3.6.1.tar.gz && \
tar -zxf mule-standalone-3.6.1.tar.gz -C /opt && \
ln -s /opt/mule-standalone-3.6.1 /opt/mule

ENV MULE_HOME /opt/mule
ENV PATH $PATH:$MULE_HOME/bin
Expand Down

0 comments on commit b04194f

Please sign in to comment.