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
ffb317c3
Commit
ffb317c3
authored
Feb 05, 2025
by
qiuqunfeng
Browse files
commit
parent
e8027610
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
.gitignore
.gitignore
+2
-1
Makefile
Makefile
+6
-6
build/Dockerfile
build/Dockerfile
+1
-1
No files found.
.gitignore
View file @
ffb317c3
...
@@ -2,3 +2,4 @@
...
@@ -2,3 +2,4 @@
vendor
vendor
.idea
.idea
bin
bin
dist
Makefile
View file @
ffb317c3
...
@@ -33,10 +33,10 @@ BIN_DIR = $(shell pwd)/bin/
...
@@ -33,10 +33,10 @@ BIN_DIR = $(shell pwd)/bin/
help
:
help
:
@
fgrep
-h
"##"
$(MAKEFILE_LIST)
| fgrep
-v
fgrep |
sed
-e
's/\\$$//'
|
sed
-e
's/##//'
@
fgrep
-h
"##"
$(MAKEFILE_LIST)
| fgrep
-v
fgrep |
sed
-e
's/\\$$//'
|
sed
-e
's/##//'
.PHONY
:
cluster-manager
.PHONY
:
waf-console
ai-gateway
:
waf-console
:
@
echo
"build
ai-gateway
"
@
echo
"build
waf-console
"
go build
-v
\
go build
-v
\
-tags
=
jsoniter
-o
dist/ai-gateway gitlab.com/tensorsecurity-rd/ai-gateway/cmd
-tags
=
jsoniter
-o
dist/waf-console gitlab.com/tensorsecurity-rd/waf-console/cmd
#upx --lzma --best dist/ai-gateway
#upx --lzma --best dist/waf-console
docker build
-t
$(REPOPREFIX)
/ai-gateway:
$(IMAGE_TAG)
-f
./build/Dockerfile .
docker build
-t
$(REPOPREFIX)
/waf-console:
$(IMAGE_TAG)
-f
./build/Dockerfile .
\ No newline at end of file
build/Dockerfile
View file @
ffb317c3
...
@@ -12,4 +12,4 @@ RUN sed -i "s!archive.ubuntu.com/!${MIRROR_SOURCE}/!g" /etc/apt/sources.list \
...
@@ -12,4 +12,4 @@ RUN sed -i "s!archive.ubuntu.com/!${MIRROR_SOURCE}/!g" /etc/apt/sources.list \
&&
apt-get clean
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
&&
rm
-rf
/var/lib/apt/lists/
*
CMD
/ai-gateway
ENTRYPOINT
["/waf-console"]
\ No newline at end of file
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