Merge "Update dpkg elements README from free text to table formatting"

This commit is contained in:
Jenkins 2015-09-03 18:23:28 +00:00 committed by Gerrit Code Review
commit bf4a60a9e3

View File

@ -13,14 +13,28 @@ The dpkg specific version of install-packages is also kept here.
Environment Variables Environment Variables
--------------------- ---------------------
* DIB\_ADD\_APT\_KEYS: If an extra or updated apt key is needed then define DIB_APT_KEYS
DIB\_ADD\_APT\_KEYS with the path to a folder. Any key files inside will be :Required: No
added to the key ring before any apt-get commands take place. :Default: None
* DIB\_APT\_LOCAL\_CACHE: You can use this variable to disable the internal cache :Description: If an extra or updated apt key is needed then define
of the /var/cache/apt/archives directory by setting it to 0. The default is to bind ``DIB_ADD_APT_KEYS`` with the path to a folder. Any key files inside will be
mount the $DIB_IMAGE_CACHE/apt/$DISTRO_NAME directory in added to the key ring before any apt-get commands take place.
/var/cache/apt/archives, this to cache the .deb files downloaded during the image :Example: ``DIB_APT_KEYS=/etc/apt/trusted.gpg.d``
creation.
* At the end of a dib run we clean the apt cache to keep the image size as DIB_APT_LOCAL_CACHE
small as possible. You can set DIB\_DISABLE\_APT\_CLEANUP=1 if you would :Required: No
like to prevent this. :Default: 1
:Description: By default the ``$DIB_IMAGE_CACHE/apt/$DISTRO_NAME`` directory is
mounted in ``/var/cache/apt/archives`` to cache the .deb files downloaded
during the image creation. Use this variable if you wish to disable the
internal cache of the ``/var/cache/apt/archives`` directory
:Example: ``DIB_APT_LOCAL_CACHE=0`` will disable internal caching.
DIB_DISABLE_APT_CLEANUP
:Required: No
:Default: 0
:Description: At the end of a dib run we clean the apt cache to keep the image
size as small as possible. Use this variable to prevent cleaning the apt cache
at the end of a dib run.
:Example: ``DIB_DISABLE_APT_CLEANUP=1`` will disable cleanup.