upd wstunnel version
This commit is contained in:
parent
8e8eae11b5
commit
366b19679e
@ -3,8 +3,10 @@ COPY wstunnel.conf /etc/nginx/conf.d/
|
|||||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||||
RUN chmod +x /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 \
|
&& apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y wget nginx \
|
||||||
&& wget -O /usr/local/bin/wstunnel \
|
&& wget -O /tmp/wstunnel.tar.gz \
|
||||||
https://github.com/erebe/wstunnel/releases/download/v5.0/wstunnel-linux-x64 \
|
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 \
|
&& chmod +x /usr/local/bin/wstunnel \
|
||||||
&& rm -vf /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
&& rm -vf /etc/nginx/sites-available/default /etc/nginx/sites-enabled/default
|
||||||
ENV WS_PATH_PREFIX=${WS_PATH_PREFIX:-}
|
ENV WS_PATH_PREFIX=${WS_PATH_PREFIX:-}
|
||||||
|
Reference in New Issue
Block a user