Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when building spdkcsi/spdkcsi:canary image #43

Open
MaciejMis opened this issue Jun 5, 2024 · 1 comment
Open

Error when building spdkcsi/spdkcsi:canary image #43

MaciejMis opened this issue Jun 5, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@MaciejMis
Copy link

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
@MaciejMis MaciejMis added the bug Something isn't working label Jun 5, 2024
@idoyo7
Copy link

idoyo7 commented Jul 3, 2024

i could have build those image via golang:1.22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants