docs icon indicating copy to clipboard operation
docs copied to clipboard

Request for more examples for LegacyKeyValueFormat

Open AKorezin opened this issue 1 year ago • 1 comments

Is this a docs issue?

  • [X] My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

The LegacyKeyValueFormat is part of the moby/buildkit, but it's used in the docker docs. So it's not clear to me where to post about this problem.

I think there should be an example of a multiline ENV variable like in the docker-library/php. The php example is pretty simple, because the items are not that long, but the list can be larger, something like

ENV DEPS \
      "libfreetype6=${FREETYPE_VERSION}" \
      "libjpeg62-turbo=${LIBJPEG_VERSION}" \
      "libmemcached11=${LIBMEMCACHED_VERSION}" \
      "libmemcachedutil2=${LIBMEMCACHED_VERSION}" \
      "libpng16-16=${LIBPNG_VERSION}" \
      "libwebp7=${LIBWEBP_VERSION}" \
      "libzip4=${LIBZIP_VERSION}"

ENV DEV_DEPS \
      "libbz2-dev=${BZIP_VERSION}" \
      "libfreetype-dev=${FREETYPE_VERSION}" \
      "libicu-dev=${ICU_VERSION}" \
      "libjpeg62-turbo-dev=${LIBJPEG_VERSION}" \
      "libldap2-dev=${OPENLDAP_VERSION}" \
      "libmemcached-dev=${LIBMEMCACHED_VERSION}" \
      "libpng-dev=${LIBPNG_VERSION}" \
      "libssl-dev=${OPENSSL_VERSION}" \
      "libwebp-dev=${LIBWEBP_VERSION}" \
      "libzip-dev=${LIBZIP_VERSION}"

Location

https://docs.docker.com/reference/build-checks/legacy-key-value-format/

Suggestion

No response

AKorezin avatar Jul 04 '24 12:07 AKorezin