feat: make api command use docker by default.

This commit is contained in:
Andrey Melnikov
2020-12-30 15:05:16 -08:00
parent 25fbbf59ae
commit 303cee3e9f

View File

@@ -35,10 +35,10 @@ protoc:
--openapiv2_opt simple_operation_ids=true \ --openapiv2_opt simple_operation_ids=true \
api/proto/*.proto api/proto/*.proto
api: init protoc jq api-internal: init protoc jq
api-docker: init api: init
docker run --rm --mount type=bind,source="${PWD}",target=/root onepanel/helper:v1.0.0 make api version=$(version) docker run --rm --mount type=bind,source="${PWD}",target=/root onepanel/helper:v1.0.0 make api-internal version=$(version)
docker-build: docker-build:
docker build -t onepanel-core . docker build -t onepanel-core .