aboutsummaryrefslogtreecommitdiffstats
path: root/reference/logging-docker-root/logging-docker-demo/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'reference/logging-docker-root/logging-docker-demo/build.sh')
-rwxr-xr-xreference/logging-docker-root/logging-docker-demo/build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/reference/logging-docker-root/logging-docker-demo/build.sh b/reference/logging-docker-root/logging-docker-demo/build.sh
new file mode 100755
index 0000000..d2e0ea2
--- /dev/null
+++ b/reference/logging-docker-root/logging-docker-demo/build.sh
@@ -0,0 +1,8 @@
+mkdir target
+cp ../../logging-demo/target/*.war target
+docker build -t oomk8s/logging-demo-nbi -f DockerFile .
+docker images | grep logging-demo-nbi
+docker tag oomk8s/logging-demo-nbi oomk8s/logging-demo-nbi:0.0.1
+docker login
+docker push oomk8s/logging-demo-nbi:0.0.1
+#docker run -d -it --rm -p 8888:8080 oomk8s/logging-demo-nbi:latest