summaryrefslogtreecommitdiffstats
path: root/reference/logging-docker-root/logging-docker-demo/build.sh
diff options
context:
space:
mode:
authorMichael O'Brien <frank.obrien@amdocs.com>2018-01-28 22:40:06 -0500
committerMichael O'Brien <frank.obrien@amdocs.com>2018-01-29 16:39:00 -0500
commit1f44731975d5a90d546bf5f4008f26920910ab8c (patch)
treef37f00e5f64791103436ef99ab4063e50c01596f /reference/logging-docker-root/logging-docker-demo/build.sh
parentfdd8de8305343fd63347fcd7757577aab52a483a (diff)
log RI kubernetes and docker devops
initial demo docker and kubernetes infra Change-Id: I5daf744ee8f4ab9b824576209fd61dec0f41a5c2 Issue-ID: LOG-137 Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
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