Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
陈曦
sub2api
Commits
57db688d
"git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "c826ac28ef61c96421f0807dbe72919743764f75"
Commit
57db688d
authored
Dec 29, 2025
by
yangjianbo
Browse files
feat:增加一个快捷的build docker镜像的脚本,用于本地测试
parent
9d1d608f
Changes
1
Hide whitespace changes
Inline
Side-by-side
build_image.sh
0 → 100755
View file @
57db688d
#!/bin/bash
# 本地构建镜像的快速脚本,避免在命令行反复输入构建参数。
docker build
-t
sub2api:latest
\
--build-arg
GOPROXY
=
https://goproxy.cn,direct
\
--build-arg
GOSUMDB
=
sum.golang.google.cn
\
-f
Dockerfile
\
.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment