File tree Expand file tree Collapse file tree 3 files changed +27
-144
lines changed
tests/src/test/java/io/jooby Expand file tree Collapse file tree 3 files changed +27
-144
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ You should have JDK8 and Maven 3.5.0 or above.
77From the root directory:
88
99```
10- mvn install
10+ mvn clean package
1111```
1212
1313# Building one module only
@@ -18,8 +18,14 @@ for Maven like so:
1818
1919```
2020# example module is 'jooby-hikari' - replace as appropriate
21- mvn install -pl jooby-hikari -am
21+ mvn package -pl jooby-hikari -am
2222```
2323
2424Note: Maven builds the smallest amount on dependent modules necessary before it gets to this one. The resulting
2525build time is shorter, and less is downloaded from Maven Central to your local cache of jars.
26+
27+ # Docker build
28+
29+ - docker build -t jooby .
30+ - docker run -it --rm jooby /bin/sh
31+ - /build # mvn clean package
Original file line number Diff line number Diff line change 1+ # Run tests inside docker
2+
3+ # Usage:
4+ # - docker build -t jooby .
5+ # - docker run -it --rm jooby /bin/sh
6+ # - /build # mvn clean package
7+
8+ FROM maven:3.6.0-jdk-8-alpine as maven
9+
10+ WORKDIR /build
11+ COPY pom.xml .
12+ COPY docs/ /build/docs/
13+ COPY etc/ /build/etc/
14+ COPY examples/ /build/examples/
15+ COPY jooby/ /build/jooby/
16+ COPY modules/ /build/modules/
17+ COPY tests/ /build/tests/
18+
19+ RUN mvn clean install -q -DskipTests=true
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments