-
Notifications
You must be signed in to change notification settings - Fork 806
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
Update driver version to 0.1.0-alpha #90
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: leakingtapan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Pull Request Test Coverage Report for Build 98
💛 - Coveralls |
Pull Request Test Coverage Report for Build 101
💛 - Coveralls |
Makefile
Outdated
|
||
.PHONY: aws-ebs-csi-driver | ||
aws-ebs-csi-driver: | ||
mkdir -p bin | ||
go build -o bin/aws-ebs-csi-driver ./cmd/aws-ebs-csi-driver | ||
go build -ldflags "-X github.com/kubernetes-sigs/aws-ebs-csi-driver/pkg/driver.VendorVersion=${VERSION}" -o bin/aws-ebs-csi-driver ./cmd/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't the binary binary that goes into the image. The Dockerfile
is not calling make
, it's calling go build
directly.
We should change the Dockerfile
to use make
instead. We need to install it first, if we want to keep using golang:1.11.1-alpine3.8
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. updated to use golang1.11.1-stretch as build image
Switch to use golang1.11.1-stretch as build image so that we can delegate to make file for binary compilation without duplicating the logic in both makefile and dockerfile.
/lgtm |
carry: Fix binary location source
Fixes: #82