File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
- ARG ARCH=amd64
16
-
17
15
FROM k8s.gcr.io/build-image/debian-base:buster-v1.6.0
18
16
17
+ # Architecture for bin folder
18
+ ARG ARCH
19
+
19
20
# Copy nfsplugin from build _output directory
20
21
COPY bin/${ARCH}/nfsplugin /nfsplugin
21
22
Original file line number Diff line number Diff line change 100
100
101
101
.PHONY : nfs-armv7
102
102
nfs-armv7 :
103
- CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -a -ldflags " ${LDFLAGS} ${EXT_LDFLAGS} " -mod vendor -o bin/arm/v7/nfsplugin ./cmd/nfsplugin
103
+ CGO_ENABLED=0 GOOS=linux GOARCH=arm GOARM=7 go build -a -ldflags " ${LDFLAGS} ${EXT_LDFLAGS} " -mod vendor -o bin/arm/v7/nfsplugin ./cmd/nfsplugin
104
104
105
105
.PHONY : container-build
106
106
container-build :
You can’t perform that action at this time.
0 commit comments