Skip to content

Commit

Permalink
Add quick build
Browse files Browse the repository at this point in the history
  • Loading branch information
dabradley committed Dec 10, 2024
1 parent 30dad80 commit 376149c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,10 @@ e2e-teardown:
#
# Azure Lustre: Code build
#
.PHONY: quicklustre
quicklustre:
CGO_ENABLED=0 GOOS=linux GOARCH=$(ARCH) go build -ldflags ${LDFLAGS} -mod vendor -o _output/azurelustreplugin ./pkg/azurelustreplugin

.PHONY: azurelustre
azurelustre:
CGO_ENABLED=0 GOOS=linux GOARCH=$(ARCH) go build -a -ldflags ${LDFLAGS} -mod vendor -o _output/azurelustreplugin ./pkg/azurelustreplugin
Expand All @@ -128,6 +132,10 @@ azurelustre-darwin:
#
# Azure Lustre: Docker build
#
.PHONY: quickcontainer
quickcontainer: quicklustre
docker build -t $(IMAGE_TAG) --output=type=docker -f $(dockerfile) .

.PHONY: container
container: $(build_lustre_source_code)
docker build -t $(IMAGE_TAG) --output=type=docker -f $(dockerfile) .
Expand Down

0 comments on commit 376149c

Please sign in to comment.