Repository navigation
Makefile,build_docker.sh: build dev images for linux/amd64 only, allow to configure target platform - #10806
Merged
Conversation
Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var. Updates#cleanup Signed-off-by: Irbe Krumina <[email protected]>
irbekrm
commented
Jan 10, 2024
| TARGET="${TARGET:-${DEFAULT_TARGET}}" | ||
| TAGS="${TAGS:-${DEFAULT_TAGS}}" | ||
| BASE="${BASE:-${DEFAULT_BASE}}" | ||
| PLATFORM="${PLATFORM:-}" # default to all platforms |
Contributor
Author
There was a problem hiding this comment.
Our build infra calls this script (not the make targets) and defaulting to "" means that we keep the existing behaviour where mkctr builds for all platforms it supports https://github.com/tailscale/mkctr?tab=readme-ov-file#usage
maisem
approved these changes
Jan 10, 2024
| SYNO_DSM ?= "7" | ||
| TAGS ?= "latest" | ||
|
|
||
| PLATFORM ?= "flyio" ## flyio==linux/amd64. Set to "" to build all platforms. |
Contributor
There was a problem hiding this comment.
I think this is the only supported platform, might want to add support for arbitrary platforms to mkctr at some point.
Contributor
Author
There was a problem hiding this comment.
Makes sense 👍🏼 I added the comment in case anyone needs to build arm, they would at least know how to build for all.
kari-ts
pushed a commit
that referenced
this pull request
Jan 12, 2024
Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var. Updates#cleanup Signed-off-by: Irbe Krumina <[email protected]>
Asutorufa
pushed a commit
to Asutorufa/tailscale
that referenced
this pull request
Jan 19, 2024
…ale#10806) Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var. Updates#cleanup Signed-off-by: Irbe Krumina <[email protected]>
chen8945
pushed a commit
to Ckid-Home/tailscale
that referenced
this pull request
Jul 31, 2024
…ale#10806) Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var. Updates#cleanup Signed-off-by: Irbe Krumina <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Build dev tailscale and k8s-operator images for linux/amd64 only by default, make it possible to configure target build platform via PLATFORM var.
To make it easier for folks who are working on containerboot and operator and build the images frequently.
Updates#cleanup