From 8da82dbb9d4534f172d7ff5855e9441e624cd1b7 Mon Sep 17 00:00:00 2001 From: eeckert Date: Thu, 21 Dec 2023 11:04:54 -0700 Subject: [PATCH] update debug builds --- debug-build.bat | 4 ---- test-build.bat | 6 ++++++ test-build.sh | 7 +++++++ 3 files changed, 13 insertions(+), 4 deletions(-) delete mode 100644 debug-build.bat create mode 100644 test-build.bat create mode 100644 test-build.sh diff --git a/debug-build.bat b/debug-build.bat deleted file mode 100644 index a7c1436..0000000 --- a/debug-build.bat +++ /dev/null @@ -1,4 +0,0 @@ -docker build . --tag debug-image --file Dockerfile.debug -docker stop debug-server -docker rm debug-server -docker run -d --publish 15054:10000 --publish 4000:4000 --name debug-server debug-image \ No newline at end of file diff --git a/test-build.bat b/test-build.bat new file mode 100644 index 0000000..6089368 --- /dev/null +++ b/test-build.bat @@ -0,0 +1,6 @@ +docker build . --tag test-image --file Dockerfile +docker build . --tag debug-image --file Dockerfile.debug +docker stop MPE_Egnyte_* +docker rm MPE_Egnyte_* +docker run -d --publish 15054:10000 --publish 4000:4000 --name MPE_Egnyte_Test test-image +docker run -d --publish 15053:10000 --publish 4000:4000 --name MPE_Egnyte_Debug test-image diff --git a/test-build.sh b/test-build.sh new file mode 100644 index 0000000..9310f3d --- /dev/null +++ b/test-build.sh @@ -0,0 +1,7 @@ +#! /bin/bash +docker build . --tag test-image --file Dockerfile +docker build . --tag debug-image --file Dockerfile.debug +docker stop MPE_Egnyte_* +docker rm MPE_Egnyte_* +docker run -d --publish 15054:10000 --publish 4000:4000 --name MPE_Egnyte_Test test-image +docker run -d --publish 15053:10000 --publish 4000:4000 --name MPE_Egnyte_Debug debug-image