File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1212# See the License for the specific language governing permissions and
1313# limitations under the License.
1414
15- ARG ARCH=amd64
16-
1715FROM k8s.gcr.io/build-image/debian-base:buster-v1.6.0
1816
17+ # Architecture for bin folder
18+ ARG ARCH
19+
1920# Copy nfsplugin from build _output directory
2021COPY bin/${ARCH}/nfsplugin /nfsplugin
2122
Original file line number Diff line number Diff line change 100100
101101.PHONY : nfs-armv7
102102nfs-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
104104
105105.PHONY : container-build
106106container-build :
You can’t perform that action at this time.
0 commit comments