mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
Use rm -rf instead of sudo when removing the temp dir
This commit is contained in:
parent
c3ad5ef0ea
commit
0eddfe5e6d
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -39,7 +39,7 @@ docker-build: vendor
|
|||
CGO_ENABLED=0 go build -a -tags netgo -o /build/adapter github.com/directxman12/k8s-prometheus-adapter/cmd/adapter"
|
||||
|
||||
docker build -t $(REGISTRY)/$(IMAGE)-$(ARCH):$(VERSION) $(TEMP_DIR)
|
||||
sudo rm -r $(TEMP_DIR)
|
||||
rm -rf $(TEMP_DIR)
|
||||
|
||||
push-%:
|
||||
$(MAKE) ARCH=$* docker-build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue