Permalink
Browse files

Add clean-up steps

  • Loading branch information...
sohrab- committed Mar 24, 2015
1 parent b04194f commit 7162378667cf5480b54f23be48549960ab41d6e0
Showing with 8 additions and 3 deletions.
  1. +8 −3 Dockerfile
@@ -3,7 +3,10 @@ MAINTAINER sohrab <sohrab@sixtree.com.au>
# install supporting tools
RUN apt-get update && \
apt-get install -y procps wget
apt-get install -y procps wget && \
apt-get clean && \
apt-get purge
WORKDIR /tmp
@@ -13,7 +16,8 @@ RUN wget --no-check-certificate --no-cookies \
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
update-alternatives --install /usr/bin/java java /opt/jre/bin/java 100 && \
rm -rf jre-7u75-linux-x64.tar.gz
ENV JAVA_HOME /opt/jre
ENV JRE_HOME $JAVA_HOME
@@ -22,7 +26,8 @@ ENV JRE_HOME $JAVA_HOME
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 && \
tar -zxf mule-standalone-3.6.1.tar.gz -C /opt && \
ln -s /opt/mule-standalone-3.6.1 /opt/mule
ln -s /opt/mule-standalone-3.6.1 /opt/mule && \
rm -rf mule-standalone-3.6.1.tar.gz /opt/mule/apps/default /opt/mule/src
ENV MULE_HOME /opt/mule
ENV PATH $PATH:$MULE_HOME/bin

0 comments on commit 7162378

Please sign in to comment.