Skip to content

Commit

Permalink
Merge pull request #227 from kanisterio/fix_makefile
Browse files Browse the repository at this point in the history
Do not create build artifacts in GOOS directory
  • Loading branch information
tdmanv authored Aug 23, 2019
2 parents e2a5df3 + 9019a23 commit b2106f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ shell: build-dirs
-v "${HOME}/.kube:/root/.kube" \
-v "$(PWD):/go/src/$(PKG)" \
-v "$(PWD)/bin/$(ARCH):/go/bin" \
-v "$(PWD)/bin/$(ARCH):/go/bin/$$(go env GOOS)_$(ARCH)" \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/$(PKG) \
$(BUILD_IMAGE) \
Expand Down Expand Up @@ -199,7 +198,7 @@ ifeq ($(DOCKER_BUILD),"true")
-v "$(PWD)/.go/pkg:/go/pkg" \
-v "$(PWD)/.go/cache:/go/.cache" \
-v "$(PWD):/go/src/$(PKG)" \
-v "$(PWD)/bin/$(ARCH)/$$(go env GOOS)_$(ARCH):/go/bin" \
-v "$(PWD)/bin/$(ARCH):/go/bin" \
-v "$(PWD)/.go/std/$(ARCH):/usr/local/go/pkg/linux_$(ARCH)" \
-v /var/run/docker.sock:/var/run/docker.sock \
-w /go/src/$(PKG) \
Expand Down

0 comments on commit b2106f4

Please sign in to comment.