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"]],["上次更新時間:2025-08-19 (世界標準時間)。"],[[["\u003cp\u003eThis tool packages one or more Debian files into a single OCI artifact.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egdcloud artifacts apt package\u003c/code\u003e command requires source Debian files and a destination for the OCI artifact.\u003c/p\u003e\n"],["\u003cp\u003eThe tool supports packaging multiple Debian files simultaneously, as demonstrated in the example with \u003ccode\u003eFILE_1.deb\u003c/code\u003e and \u003ccode\u003eFILE_2.deb\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eOptional flags include setting a custom name and version for the OCI artifact using \u003ccode\u003e--name\u003c/code\u003e and \u003ccode\u003e--version\u003c/code\u003e.\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/appliance/resources/gdcloud-reference/gdcloud) page."]]