To package two Debian files into an OCI artifact, run:
gdcloud artifacts apt package FILE_1.deb FILE_2.deb DESTINATION
In this example, FILE_1.deb and FILE_2.deb are two Debian files.
The DESTINATION path must point to the OCI artifact.
可选标志
--name string Name of the artifact. (default "gpc-deb-packages")
--version string Version of the artifact. (default "1.0")
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[[["\u003cp\u003e\u003ccode\u003egdcloud artifacts apt package\u003c/code\u003e is used to package Debian files into an OCI artifact.\u003c/p\u003e\n"],["\u003cp\u003eMultiple Debian files can be included in a single artifact by listing them as source arguments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDESTINATION\u003c/code\u003e argument specifies the OCI artifact's path.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003e--name\u003c/code\u003e and \u003ccode\u003e--version\u003c/code\u003e flags allow customization of the artifact's name and version, defaulting to "gpc-deb-packages" and "1.0", respectively.\u003c/p\u003e\n"],["\u003cp\u003eOther flags available to all commands, such as \u003ccode\u003e--configuration\u003c/code\u003e, \u003ccode\u003e--format\u003c/code\u003e, and \u003ccode\u003e--project\u003c/code\u003e can be used.\u003c/p\u003e\n"]]],[],null,["# gdcloud artifacts apt package\n\nNAME\n----\n\ngdcloud artifacts apt package - Package one or more Debian files into an OCI artifact.\n\nSYNOPSIS\n--------\n\n gdcloud artifacts apt package SOURCE DESTINATION [flags]\n\n### EXAMPLES\n\n To package two Debian files into an OCI artifact, run:\n\n gdcloud artifacts apt package FILE_1.deb FILE_2.deb DESTINATION\n\n In this example, FILE_1.deb and FILE_2.deb are two Debian files.\n The DESTINATION path must point to the OCI artifact.\n\n### OPTIONAL FLAGS\n\n --name string Name of the artifact. (default \"gpc-deb-packages\")\n --version string Version of the artifact. (default \"1.0\")\n\n### GDCLOUD WIDE FLAGS\n\nThese flags are available to all commands: `--configuration`, `--format`, `--help`, `--project`, `--quiet`.\n\nFor more information, see the [gdcloud CLI reference overview](/distributed-cloud/hosted/docs/latest/gdch/resources/gdcloud-reference/gdcloud) page."]]