Skip to content

Commit

Permalink
build script
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed May 3, 2022
1 parent 17bf734 commit 5ac8346
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kuboard-spray-admin
Binary file removed admin/kuboard-spray-admin
Binary file not shown.
10 changes: 10 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@ docker run --rm -v ${PWD}:/usr/src/kuboard-spray \

ls -lh ./server/kuboard-spray

echo
echo "【构建 admin】"
rm -f ./admin/kuboard-spray-admin
docker run --rm -v ${PWD}:/usr/src/kuboard-spray \
-v ~/temp/build-temp/pkg:/go/pkg \
-w /usr/src/kuboard-spray/admin golang:1.18.0-buster \
sh -c "export GOPROXY=https://goproxy.io,direct && go build kuboard-spray-admin.go"

ls -lh ./admin/kuboard-spray-admin

echo
echo "【构建 镜像】"

Expand Down

0 comments on commit 5ac8346

Please sign in to comment.