Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
added JAVA_HOME
  • Loading branch information
wurstmeister committed Jul 13, 2014
1 parent d1756b3 commit 76d429b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions storm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ MAINTAINER Wurstmeister
RUN echo "deb http:https://archive.ubuntu.com/ubuntu precise universe" >> /etc/apt/sources.list; apt-get update; apt-get install -y unzip openjdk-6-jdk wget supervisor
RUN wget -q -N http:https://mirror.ox.ac.uk/sites/rsync.apache.org/incubator/storm/apache-storm-0.9.2-incubating/apache-storm-0.9.2-incubating.zip; unzip -o /apache-storm-0.9.2-incubating.zip -d /usr/share/; rm apache-storm-0.9.2-incubating.zip
ENV STORM_HOME /usr/share/apache-storm-0.9.2-incubating
ENV JAVA_HOME /usr/lib/jvm/java-6-openjdk-amd64/
RUN groupadd storm; useradd --gid storm --home-dir /home/storm --create-home --shell /bin/bash storm; chown -R storm:storm $STORM_HOME; mkdir /var/log/storm ; chown -R storm:storm /var/log/storm
RUN ln -s $STORM_HOME/bin/storm /usr/bin/storm

Expand Down

0 comments on commit 76d429b

Please sign in to comment.