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

base-image: inherit the host environment when building #346

Merged
merged 1 commit into from
Feb 25, 2019

Conversation

neolit123
Copy link
Member

With modules enabled in the repo and without this change,
errors seem to be thrown when building the base image - e.g. for
GOCACHE or HOME not being defined.

Inherit the host environment when calling go build
for the entry point binary.

golang/go#29267

/kind bug
/priority important-longterm

With modules enabled in the repo and without this change,
errors are thrown when building the base image - e.g. for
GOCACHE or HOME not being defined.

Inherit the host environment when calling `go build`
for the entry point binary.
@k8s-ci-robot k8s-ci-robot added kind/bug Categorizes issue or PR as related to a bug. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Feb 25, 2019
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 25, 2019
@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 25, 2019
Copy link
Member

@BenTheElder BenTheElder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve
/hold
I assume Go takes the last value for GOOS etc?

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 25, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: BenTheElder, neolit123

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 25, 2019
@neolit123
Copy link
Member Author

I assume Go takes the last value for GOOS etc?

yes,
https://golang.org/pkg/os/exec/#Cmd

// If Env contains duplicate environment keys, only the last
// value in the slice for each duplicate key is used.

@BenTheElder
Copy link
Member

Thanks!
/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 25, 2019
Copy link
Member

@tao12345666333 tao12345666333 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 2c51957 into kubernetes-sigs:master Feb 25, 2019
stg-0 pushed a commit to stg-0/kind that referenced this pull request Nov 20, 2023
* Fix release 0.3 images Documentation

* Fix release 0.3 images Documentation

* Fix crictl versions

* Fix GCP Image documentation

* Fix GCP Image documentation & improve AWS image doc

* Fix installation.adoc dead page link

* Fix installation.adoc dead page link gcp

* Remove old files

* Fix Docs Checks Orphan Assets

* Fix Doc

* Fix Docs Checks - Empty lines

* Fix ECR docs

* Fix typo

* Apply suggested changes

* Fix merge

* More fixes

* Fix empty line

* Remove empty lines

* More fixes

---------

Co-authored-by: Francisco Augusto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants