From b628230898611082694c3021fe080700e55b71ae Mon Sep 17 00:00:00 2001 From: Vladislav Yarmak Date: Thu, 6 May 2021 21:25:04 +0300 Subject: [PATCH] escape password for json config --- Dockerfile | 6 +----- conf/shadowsocks-libev_config.json | 2 +- entrypoint.sh | 2 ++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5501bc5..10b8c5e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,11 +8,7 @@ COPY entrypoint.sh /entrypoint.sh ARG DEBIAN_FRONTEND=noninteractive RUN set -ex\ && apt update -y \ - && apt upgrade -y \ - && apt install -y wget unzip qrencode \ - && apt install -y shadowsocks-libev \ - && apt install -y nginx-light \ - && apt autoremove -y \ + && apt install -y wget qrencode shadowsocks-libev nginx-light jq \ && apt clean -y \ && chmod +x /entrypoint.sh \ && mkdir -p /etc/shadowsocks-libev /v2raybin /wwwroot \ diff --git a/conf/shadowsocks-libev_config.json b/conf/shadowsocks-libev_config.json index 7077cd8..4331821 100644 --- a/conf/shadowsocks-libev_config.json +++ b/conf/shadowsocks-libev_config.json @@ -4,7 +4,7 @@ cat <