Skip to content

Commit

Permalink
Merge pull request jenkins-x#1359 from i0n/increase_u_limit_for_build
Browse files Browse the repository at this point in the history
increase ulimit for docker builds of jx
  • Loading branch information
Cosmin Cojocar authored Jul 25, 2018
2 parents 4e945eb + 7755486 commit 92090e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ release: check
zip --junk-paths release/$(NAME)-windows-amd64.zip build/$(NAME)-windows-amd64.exe README.md LICENSE
CGO_ENABLED=$(CGO_ENABLED) GOOS=linux GOARCH=arm $(GO) build $(BUILDFLAGS) -o build/arm/$(NAME) cmd/jx/jx.go

docker build -t docker.io/jenkinsxio/$(NAME):$(VERSION) .
docker build --ulimit nofile=90000:90000 -t docker.io/jenkinsxio/$(NAME):$(VERSION) .
docker push docker.io/jenkinsxio/$(NAME):$(VERSION)

chmod +x build/darwin/$(NAME)
Expand Down

0 comments on commit 92090e2

Please sign in to comment.