From 05c7a26e3a58acd581b870f39fa83ea0e3acc7db Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Thu, 26 Sep 2019 14:36:14 -0700 Subject: [PATCH] Export port 8008 for Docker + test_ws.sh is /bin/sh compatible --- DOCKER_VERSION | 2 +- docker/Dockerfile.alpine | 1 + ws/test_ws.sh | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DOCKER_VERSION b/DOCKER_VERSION index 2036a714..c84aaa07 100644 --- a/DOCKER_VERSION +++ b/DOCKER_VERSION @@ -1 +1 @@ -6.2.8 +6.2.9 diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine index 1cf01e0c..02c5ac39 100644 --- a/docker/Dockerfile.alpine +++ b/docker/Dockerfile.alpine @@ -30,4 +30,5 @@ USER app WORKDIR /home/app ENTRYPOINT ["ws"] +EXPOSE 8008 CMD ["--help"] diff --git a/ws/test_ws.sh b/ws/test_ws.sh index f2e94aa1..f5ff5543 100644 --- a/ws/test_ws.sh +++ b/ws/test_ws.sh @@ -3,7 +3,7 @@ # Handle Ctrl-C by killing all sub-processing AND exiting trap cleanup INT -function cleanup { +cleanup() { kill `cat /tmp/ws_test/pidfile.transfer` kill `cat /tmp/ws_test/pidfile.receive` kill `cat /tmp/ws_test/pidfile.send`