Using Docker to Build Brooklyn
Using Docker to Build Brooklyn Brooklyn is a large project with a lot of dependencies. I wanted to compile it, but I also wanted to remove all traces of the project when I was done experimenting. I used Docker to accomplish this goal. See the files below at https://github.com/medined/docker-brooklyn. First, I created a Dockerfile to load java, maven, and clone the repository. $ cat Dockerfile FROM ubuntu:14.04 MAINTAINER David Medinets # # Install Java # RUN apt-get update && apt-get install -y software-properties-common && add-apt-repository -y ppa:webupd8team/java && echo debconf shared/accepted-oracle-license-v1-1 select true | sudo debconf-set-selections && echo debconf shared/accepted-oracle-license-v1-1 seen true | sudo debconf-set-selections && apt-get update && apt-get install -y oracle-java8-installer ENV JAVA_HOME /usr/lib/jvm/java-8-oracle # # Install Maven # RUN echo "deb http://ppa.launchpad.net/natecarlson/maven3...