diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8bcde13..700d3a6 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1 +1,11 @@ -FROM zklcdc/go-bingai-pass:latest \ No newline at end of file +FROM zklcdc/go-bingai-pass:latest + +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 + +RUN wget https://github.com/Harry-zklcdc/go-bingai-pass/releases/latest/download/go-bingai-pass-linux-amd64.tar.gz -O go-bingai-pass-linux-amd64.tar.gz && \ + tar -zxvf go-bingai-pass-linux-amd64.tar.gz && \ + chmod +x go-bingai-pass + +RUN rm go-bingai-pass-linux-amd64.tar.gz go-proxy-bingai-linux-amd64.tar.gz \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2ca0aba..369a2c9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,4 +1,4 @@ { "dockerComposeFile": "docker-compose.yml", - "service": "go-proxy-bingai", + "service": "go-bingai-pass", } diff --git a/.devcontainer/docker-compose.yml b/.devcontainer/docker-compose.yml index 1cb89e1..a7f020e 100644 --- a/.devcontainer/docker-compose.yml +++ b/.devcontainer/docker-compose.yml @@ -1,8 +1,9 @@ services: - go-proxy-bingai: + go-bingai-pass: build: context: . dockerfile: Dockerfile + no_cache: true environment: - HEADLESS=false - PASS_TIMEOUT=5