Skip to content

Commit

Permalink
Merge pull request #815 from Vafilor/feat/default.make.api
Browse files Browse the repository at this point in the history
feat: make api command use docker by default.
  • Loading branch information
rushtehrani authored Dec 30, 2020
2 parents 3cb799f + 303cee3 commit 69c523e
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 69c523e

Please sign in to comment.