FROM csanchez/maven:3.2

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

ONBUILD ADD . /usr/src/app

ONBUILD RUN mvn install

FROM csanchez/maven:latest

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

ONBUILD ADD . /usr/src/app

ONBUILD RUN mvn install

Use latest as parent, can't tag properly the other versions yet
Use latest as parent, can't tag properly the other versions yet
