Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
qiuqunfeng
waf-console
Commits
cb8cd6a0
Commit
cb8cd6a0
authored
Feb 06, 2025
by
liuqiang
Browse files
Merge branch 'liuqianli/dev-node' into 'main'
modify See merge request
!3
parents
4c5eb8f1
ff86e70a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+2
-2
No files found.
Makefile
View file @
cb8cd6a0
...
@@ -12,7 +12,7 @@ UNAME_M := $(shell uname -m)
...
@@ -12,7 +12,7 @@ UNAME_M := $(shell uname -m)
REPOPREFIX
?=
harbor.tensorsecurity.com/tensorsecurity
REPOPREFIX
?=
harbor.tensorsecurity.com/tensorsecurity
## 指定镜像tag
## 指定镜像tag
IMAGE
_
TAG
?=
v0.0.1
IMAGETAG
?=
testcn
## 指定国内源
## 指定国内源
MIRROR_SOURCE
?=
mirrors.aliyun.com
MIRROR_SOURCE
?=
mirrors.aliyun.com
...
@@ -39,4 +39,4 @@ waf-console:
...
@@ -39,4 +39,4 @@ waf-console:
go build
-v
\
go build
-v
\
-tags
=
jsoniter
-o
dist/waf-console gitlab.com/tensorsecurity-rd/waf-console/cmd
-tags
=
jsoniter
-o
dist/waf-console gitlab.com/tensorsecurity-rd/waf-console/cmd
#upx --lzma --best dist/waf-console
#upx --lzma --best dist/waf-console
docker build
-t
$(REPOPREFIX)
/waf-console:
$(IMAGE
_
TAG)
-f
./build/Dockerfile .
docker build
-t
$(REPOPREFIX)
/waf-console:
$(IMAGETAG)
-f
./build/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