Added scripts to build the docker images (#185)

This is to match the scripts that are available in the Acceptance tests.  So that if they want to build samples for testing purposes they have a consistent feel
Also updated versions
This commit is contained in:
Glenn Renfro
2022-11-10 12:44:48 -05:00
committed by GitHub
parent be3c2b6858
commit 9867e6163a
4 changed files with 16 additions and 30 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
if [ "$TIMESTAMP_TASK_VERSION" = "" ]; then
TIMESTAMP_TASK_VERSION=2.0.2
fi
./mvnw -o clean install -DskipTests
./mvnw -o spring-boot:build-image -DskipTests -Dspring-boot.build-image.imageName=springcloud/timestamp-task:$TIMESTAMP_TASK_VERSION