From 366b19679e8fac96f03100aa77ce03bfe6c27426 Mon Sep 17 00:00:00 2001 From: ge Date: Sun, 7 Jan 2024 11:15:04 +0300 Subject: [PATCH] upd wstunnel version --- Dockerfile | 6 ++++-- wstunnel | 0 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 wstunnel diff --git a/Dockerfile b/Dockerfile index 2c77eec..d907681 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ COPY wstunnel.conf /etc/nginx/conf.d/ COPY entrypoint.sh /usr/local/bin/entrypoint.sh RUN chmod +x /usr/local/bin/entrypoint.sh \ && apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget nginx \ - && wget -O /usr/local/bin/wstunnel \ - https://github.com/erebe/wstunnel/releases/download/v5.0/wstunnel-linux-x64 \ + && wget -O /tmp/wstunnel.tar.gz \ + https://github.com/erebe/wstunnel/releases/download/v8.5.4/wstunnel_8.5.4_linux_amd64.tar.gz \ + && tar -xf /tmp/wstunnel.tar.gz -C /tmp \ + && mv /tmp/wstunnel /usr/local/bin/wstunnel \ && chmod +x /usr/local/bin/wstunnel \ && rm -vf /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default ENV WS_PATH_PREFIX=${WS_PATH_PREFIX:-} diff --git a/wstunnel b/wstunnel new file mode 100644 index 0000000..e69de29