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\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."]]