Skip to content

Error when building spdkcsi/spdkcsi:canary image #43

@MaciejMis

Description

@MaciejMis

Here we can find a command to build a local version of spdkcsi image:

  docker run -it --rm -v /var/run/docker.sock:/var/run/docker.sock golang:1.14 \
  bash -c "apt update && apt install -y make git docker.io && \
  git clone https://review.spdk.io/gerrit/spdk/spdk-csi && cd spdk-csi && make image"

This command fails with error:

=== building spdkcsi binary
flag provided but not defined: -buildvcs
usage: go build [-o output] [-i] [build flags] [packages]
Run 'go help build' for details.
make: *** [Makefile:45: spdkcsi] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions