mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-26 17:51:13 +08:00
feat: make api command use docker by default.
This commit is contained in:
6
Makefile
6
Makefile
@@ -35,10 +35,10 @@ protoc:
|
||||
--openapiv2_opt simple_operation_ids=true \
|
||||
api/proto/*.proto
|
||||
|
||||
api: init protoc jq
|
||||
api-internal: init protoc jq
|
||||
|
||||
api-docker: init
|
||||
docker run --rm --mount type=bind,source="${PWD}",target=/root onepanel/helper:v1.0.0 make api version=$(version)
|
||||
api: init
|
||||
docker run --rm --mount type=bind,source="${PWD}",target=/root onepanel/helper:v1.0.0 make api-internal version=$(version)
|
||||
|
||||
docker-build:
|
||||
docker build -t onepanel-core .
|
||||
|
Reference in New Issue
Block a user