File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,4 @@ cscope.*
71
71
profile.cov
72
72
73
73
pkg /blobfuse-proxy /debpackage /usr /
74
+ deploy /blobfuse-proxy /blobfuse-proxy.deb
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ e2e-teardown:
92
92
helm delete blob-csi-driver --namespace kube-system
93
93
94
94
.PHONY : blob
95
- blob :
95
+ blob : blobfuse-proxy
96
96
CGO_ENABLED=0 GOOS=linux GOARCH=$(ARCH ) go build -a -ldflags ${LDFLAGS} -mod vendor -o _output/blobplugin ./pkg/blobplugin
97
97
98
98
.PHONY : blob-windows
@@ -104,7 +104,7 @@ blob-darwin:
104
104
CGO_ENABLED=0 GOOS=darwin go build -a -ldflags ${LDFLAGS} -mod vendor -o _output/blobplugin ./pkg/blobplugin
105
105
106
106
.PHONY : container
107
- container : blob blobfuse-proxy
107
+ container : blob
108
108
docker build -t $(IMAGE_TAG ) --output=type=docker -f ./pkg/blobplugin/Dockerfile .
109
109
110
110
.PHONY : container-linux
@@ -113,7 +113,7 @@ container-linux:
113
113
-t $(IMAGE_TAG ) -linux-$(ARCH ) --build-arg ARCH=$(ARCH ) -f ./pkg/blobplugin/Dockerfile .
114
114
115
115
.PHONY : blob-container
116
- blob-container : blobfuse-proxy
116
+ blob-container :
117
117
docker buildx rm container-builder || true
118
118
docker buildx create --use --name=container-builder
119
119
@@ -170,7 +170,3 @@ blobfuse-proxy:
170
170
mkdir -p ./pkg/blobfuse-proxy/debpackage/usr/bin/
171
171
CGO_ENABLED=0 GOOS=linux go build -mod vendor -ldflags=" -s -w" -o ./pkg/blobfuse-proxy/debpackage/usr/bin/blobfuse-proxy ./pkg/blobfuse-proxy
172
172
dpkg-deb --build pkg/blobfuse-proxy/debpackage deploy/blobfuse-proxy/blobfuse-proxy.deb
173
-
174
- .PHONY : blobfuse-proxy-container
175
- blobfuse-proxy-container :
176
- sudo docker build -t blobfuse-proxy -f pkg/blobfuse-proxy/Dockerfile .
You can’t perform that action at this time.
0 commit comments