Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 589 Bytes

BUILDING.md

File metadata and controls

14 lines (11 loc) · 589 Bytes

Building the HPE CSI Driver

  • Clone the repo : git clone https://github.com/hpe-storage/csi-driver
  • cd to csi-driver
  • Turn on go modules support export GO111MODULES=on
  • Set GOOS export GOOS=linux(optional)
  • Set CONTAINER_REGISTRY env to point to your image registry, if other than docker.io(default)
  • Set GOPATH, as go binaries are placed under $(GOPATH)/bin which is added to $(PATH)
  • Install golangci-lint
  • Run make all

Note1: Minimum go version of 1.12 required. Note2: tests are only supported on Linux platform