Request for more examples for LegacyKeyValueFormat
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
Thanks for your feedback! I'll get more examples added. (For future reference, either here or moby/buildkit are both fine places for this kind of feedback!)
Closed issues are locked after 30 days of inactivity. This helps our team focus on active issues.
If you have found a problem that seems similar to this, please open a new issue.
/lifecycle locked