projects
/
demos
/
kafka
/
deduplication
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Released version `1.0.0`
[demos/kafka/deduplication]
/
README.sh
diff --git
a/README.sh
b/README.sh
index
3b0e897
..
b71031c
100755
(executable)
--- a/
README.sh
+++ b/
README.sh
@@
-8,10
+8,10
@@
then
exit
fi
exit
fi
-if [[ $(docker image ls -q juplo/deduplicator:streams) == "" ]]
+if [[ $(docker image ls -q juplo/deduplicator:streams) == ""
|| "$1" = "build"
]]
then
then
- mvn package
- docker build -t juplo/deduplicator:streams .
+ mvn package
|| exit
+ docker build -t juplo/deduplicator:streams .
|| exit
else
echo "Using image existing image:"
docker image ls juplo/deduplicator:streams
else
echo "Using image existing image:"
docker image ls juplo/deduplicator:streams