From 67b266838df212ca7e8773b4015f6057a4b8d4f5 Mon Sep 17 00:00:00 2001 From: Harry-zklcdc Date: Sun, 22 Sep 2024 17:55:22 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=F0=9F=90=9B=20Init=20Error=20on=20Code?= =?UTF-8?q?Sandbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .devcontainer/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 657fee3545..fa9474b791 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,9 @@ FROM zklcdc/go-proxy-bingai:latest-with-pass +USER root + +RUN apt-get update && apt-get install wget curl -y + RUN wget https://github.com/Harry-zklcdc/go-proxy-bingai/releases/latest/download/go-proxy-bingai-linux-amd64.tar.gz -O go-proxy-bingai-linux-amd64.tar.gz && \ tar -zxvf go-proxy-bingai-linux-amd64.tar.gz && \ chmod +x go-proxy-bingai @@ -10,6 +14,8 @@ RUN wget https://github.com/Harry-zklcdc/go-bingai-pass/releases/latest/download RUN rm go-bingai-pass-linux-amd64.tar.gz go-proxy-bingai-linux-amd64.tar.gz +USER $GBP_USER + COPY supervisor.conf /etc/supervisor/conf.d/supervisor.conf EXPOSE 8080 45678 9005