Skip to content

Commit

Permalink
Merge pull request #1800 from caskdata/hotfix/dockerfile-maven-before…
Browse files Browse the repository at this point in the history
…-openjdk

Put maven before openjdk so alternatives point to openjdk 7, rather than 6
  • Loading branch information
wolf31o2 committed Mar 24, 2015
2 parents a4ed253 + dd1fceb commit b1e58a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ RUN apt-get update && \
apt-get install -y software-properties-common python-software-properties && \
add-apt-repository ppa:chris-lea/node.js && \
apt-get update && \
apt-get install -y curl nodejs unzip git && \
apt-get install -y --no-install-recommends openjdk-7-jdk && \
apt-get install -y maven
apt-get install -y curl nodejs unzip git maven && \
apt-get install -y --no-install-recommends openjdk-7-jdk

# create Software directory
RUN mkdir /Build /Software
Expand Down

0 comments on commit b1e58a6

Please sign in to comment.