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

Use GOOS/GOARCH from base image #77

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

jonjohnsonjr
Copy link
Collaborator

Small progress towards #6

Copy link
Member

@imjasonh imjasonh left a comment

Choose a reason for hiding this comment

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

Nice. 👍

@jonjohnsonjr jonjohnsonjr merged commit 3a17dee into ko-build:master Aug 19, 2019
@jonjohnsonjr jonjohnsonjr deleted the config-platform branch August 19, 2019 17:02
@lysannef
Copy link

@jonjohnsonjr This title indicates to generating multi arch behaviour. Is this in any way related to the PR #38.

@jonjohnsonjr
Copy link
Collaborator Author

@lysannef yes, it's some progress towards it. Instead of assuming amd64/linux, this will get the OS and Arch from the underlying base image. The default base image is amd64/linux, but you could override the base image to use an image built for a different platform, and things should just work.

You could achieve this before by setting GOOS and GOARCH in your environment, so this isn't a huge change, but it does include some interface changes that I'll need for #38.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants