当前位置:网站首页>kaniko --customPlatform参数:支持不同平台的镜像构建(如:arm等)
kaniko --customPlatform参数:支持不同平台的镜像构建(如:arm等)
2022-07-29 22:41:00 【学亮编程手记】
--customPlatform
Allows to build with another default platform than the host, similarly to docker build --platform xxx the value has to be on the form --customPlatform=linux/arm, with acceptable values listed here: GOOS/GOARCH.
It’s also possible specifying CPU variants adding it as a third parameter (like --customPlatform=linux/arm/v5). Currently CPU variants are only known to be used for the ARM architecture as listed here: GOARM
The resulting images cannot provide any metadata about CPU variant due to a limitation of the OCI-image specification.
This is not virtualization and cannot help to build an architecture not natively supported by the build host. This is used to build i386 on an amd64 Host for example, or arm32 on an arm64 host.
参考链接:
https://github.com/GoogleContainerTools/kaniko#–tarpath
边栏推荐
猜你喜欢

canvas 中如何实现物体的点选(五)

怎样把某个公司所有的专利全部查到、一网打尽?

模型评价指标汇总(持续更新)

一个print函数,挺会玩啊?

毕业论文文献综述写作技巧,超级详细!

go语言中的goroutine(协程)

嵌入式系统驱动初级【1】——内核模块上_编译方法

【板栗糖GIS】arcmap—如何在表格空值处进行批量求和

线性回归的多种实现方式

The sequence table of the linear table (the dry goods are full of sharing ~ contains all the function codes of the sequence table~
随机推荐
E. XOR Tree(树形dp/异或/最近公共祖先)
【面试:并发篇30:多线程:happen-before】
三子棋(用C语言写)
tkinter绘制组件(31)——支点标题
【微信小程序】一文解忧,事件绑定
【面试:并发篇33:cas】原子更新器 原子累加器 缓存一致性问题
【移动应用开发】2022/2023 年 8 大移动应用程序开发趋势
【luogu P8354】多边形(容斥)(NTT优化DP)
SAP BC 源代码搜索
i2c时序图的详细讲解[通俗易懂]
JZ76 删除链表中重复的结点
【板栗糖GIS】arcmap—标注太长,如何换行显示
八、HikariCP源码分析之ConcurrentBag一
【面试:并发篇34:Unsafe】
四、HikariCP源码分析之初始化分析一
JZ23 链表中环的入口结点
ah?Now the primary test recruitment requirements will be automated?
VsCode更新后,怎么使用使用快捷键同时生成多个元素
研究生怎么申请专利,流程是什么?
SAP Gui 730 安装的问题