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.
INDICATEURS FACULTATIFS
--name string Name of the artifact. (default "gpc-deb-packages")
--version string Version of the artifact. (default "1.0")
OPTIONS GCLOUD GÉNÉRALES
Ces options sont disponibles pour toutes les commandes : --configuration, --format, --help, --project, --quiet.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\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."]]