Skip to content

Commit

Permalink
[Fix] 🐛 Build Cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-zklcdc committed Feb 13, 2024
1 parent 1795bf0 commit d020050
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
FROM zklcdc/go-bingai-pass:latest
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"dockerComposeFile": "docker-compose.yml",
"service": "go-proxy-bingai",
"service": "go-bingai-pass",
}
3 changes: 2 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
services:
go-proxy-bingai:
go-bingai-pass:
build:
context: .
dockerfile: Dockerfile
no_cache: true
environment:
- HEADLESS=false
- PASS_TIMEOUT=5
Expand Down

0 comments on commit d020050

Please sign in to comment.