Comments (1)
Doing --platform=darwin/amd64
doesn't necessarily mean that containers need to run in darwin. With multi-stage builds you can do cross-compilation to the platform that was requested with the flag. Usually, you would use --platform=darwin/amd64
with --output
to get mac binaries as creating a darwin image has very limited use.
Eg. moby/buildkit
and buildx images/release are built for 8 architectures(including for Darwin) in travis directly from the Dockerfile with travis being able to only run linux/amd64 containers. Or you can look at https://github.com/tonistiigi/wasm-cli-plugin that does --platform wasi/wasm
while you can't directly docker run
the webassembly images (yet).
from buildx.
Related Issues (20)
- [v0.13] allow driver-opt to that sets bridge network as default HOT 1
- ERROR: attestations are not supported by the current buildkitd (Kubernetes Driver, using latest buildkit and buildx versions) HOT 1
- docs-upstream workflow broken
- Tests: enable windows remote builder tests
- docs-release workflow broken HOT 1
- While doing the docker build i am facing error saying DEPRECATED: The legacy builder is deprecated and will be removed in a future release. Install the buildx component to build images with BuildKit: HOT 1
- Conditional COPY depending on ARG value HOT 1
- Avoid interpolation of variables in dockerfile-inline HOT 3
- Name resolution in custom network doesn't work during build HOT 1
- bake: improve error message when using incorrect format for setting labels
- default value is not honoured for `tar` and `compression` while using `docker buildx build`
- [0.13] remote driver with kube-pod URL is stuck at inactive
- [0.13] bake: changed behavior in output configuration HOT 9
- Unable to use library/* as build context and override it from bake files
- [0.13] bake: --push flag overrides targets with type=cacheonly HOT 1
- docker buildx create command is failing when there is an existing builder created with a context creation HOT 1
- ERROR: failed to find instance "instance-name" for append HOT 1
- [v0.13] create --append with missing builder changed from warn to error HOT 4
- docker buildx build does not use the local image HOT 1
- docs: improve discoverability of build-secrets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildx.