Skip to content

Commit 37fe277

Browse files
committed
Add Docker support.
1 parent 411bd4b commit 37fe277

File tree

9 files changed

+5
-466
lines changed

9 files changed

+5
-466
lines changed

5-reactive/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ COPY --from=builder application/snapshot-dependencies/ ./
1111
COPY --from=builder application/resources/ ./
1212
COPY --from=builder application/application/ ./
1313
ENTRYPOINT ["java", "org.springframework.boot.loader.JarLauncher"]
14-

5-reactive/pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,18 @@
7676

7777
<build>
7878
<plugins>
79+
<!-- tag::docker[] -->
7980
<plugin>
8081
<groupId>org.springframework.boot</groupId>
8182
<artifactId>spring-boot-maven-plugin</artifactId>
82-
<!-- tag::docker[] -->
8383
<configuration>
8484
<layout>LAYERED_JAR</layout>
8585
</configuration>
86-
<!-- end::docker[] -->
86+
<configuration>
87+
<layout>LAYERED_JAR</layout>
88+
</configuration>
8789
</plugin>
90+
<!-- end::docker[] -->
8891
</plugins>
8992
</build>
9093

5-reactive/src/test/java/com/greglturnquist/hackingspringboot/reactive/BlockHoundIntegrationTest.java

Lines changed: 0 additions & 78 deletions
This file was deleted.

5-reactive/src/test/java/com/greglturnquist/hackingspringboot/reactive/BlockHoundUnitTest.java

Lines changed: 0 additions & 52 deletions
This file was deleted.

5-reactive/src/test/java/com/greglturnquist/hackingspringboot/reactive/HomeControllerSliceTest.java

Lines changed: 0 additions & 66 deletions
This file was deleted.

5-reactive/src/test/java/com/greglturnquist/hackingspringboot/reactive/InventoryServiceUnitTest.java

Lines changed: 0 additions & 117 deletions
This file was deleted.

5-reactive/src/test/java/com/greglturnquist/hackingspringboot/reactive/ItemUnitTest.java

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)