Skip to content

Commit

Permalink
feat: make api command use docker by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vafilor committed Dec 30, 2020
1 parent 25fbbf5 commit 303cee3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit 303cee3

Please sign in to comment.