Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit

Permalink
Fix building target for single binary
Browse files Browse the repository at this point in the history
CURDIR is the correct way and not PWD to get the currect directory.
  • Loading branch information
Oz Tiram committed Nov 20, 2019
1 parent 20f2fa9 commit 284ba48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ pages:


# --[ BUILD ]--
# build this image with
# sudo make docker-build-pyinstaller TAG=0.3.1 ORG=registry.gitlab.com/noris-network/koris
build:
stage: build
image: oz123/koris-builder:0.3
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ build-exec: ## build a single file executable of koris
pyinstaller koris.spec

build-exec-in-docker:
docker run --rm -w /usr/src -v $(PWD):/usr/src/ $(ORG)/koris-builder:$(TAG) bash -c "make install build-exec PY=python3.6"
docker run --rm -w /usr/src -v $(CURDIR):/usr/src/ $(ORG)/koris-builder:$(TAG) bash -c "make install build-exec PY=python3.6"

start-release:
make -f release.mk $@ # $@ is the name of the target
Expand Down

0 comments on commit 284ba48

Please sign in to comment.