Config.in 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. config BR2_TARGET_ROOTFS_OCI
  2. bool "oci image"
  3. help
  4. Build an OCI (Open Container Initiative) image.
  5. By default, the image is generated in a directory called
  6. rootfs-oci:
  7. $ cd output/images
  8. $ ls rootfs-oci/
  9. blobs index.json oci-layout
  10. You can push the image to a registry. Example using skopeo:
  11. $ skopeo copy --dest-creds <user>:<pass> \
  12. oci:rootfs-oci:<tag> docker://<user>/<image>[:tag]
  13. And pull/run it with docker:
  14. $ docker run -it <user>/<image>[:tag]
  15. if BR2_TARGET_ROOTFS_OCI
  16. config BR2_TARGET_ROOTFS_OCI_AUTHOR
  17. string "author name and/or email address"
  18. default "Buildroot"
  19. help
  20. Name and/or email address of the person which created the
  21. image.
  22. config BR2_TARGET_ROOTFS_OCI_TAG
  23. string "image tag"
  24. default "latest"
  25. help
  26. Tag to be used in the container image. If empty, 'latest' will
  27. be used by default.
  28. config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT
  29. string "entrypoint"
  30. default "sh"
  31. help
  32. Command to execute when the container starts.
  33. config BR2_TARGET_ROOTFS_OCI_ENTRYPOINT_ARGS
  34. string "entrypoint arguments"
  35. help
  36. Default arguments to the entrypoint of the container.
  37. config BR2_TARGET_ROOTFS_OCI_WORKDIR
  38. string "working directory"
  39. help
  40. Working directory of the entrypoint process in the
  41. container.
  42. config BR2_TARGET_ROOTFS_OCI_UID
  43. string "username or UID"
  44. default "0"
  45. help
  46. The username or UID of user the process run as.
  47. config BR2_TARGET_ROOTFS_OCI_ENV_VARS
  48. string "environment variables"
  49. help
  50. Default environment variables for the container.
  51. Space-separated list of variable=value assignments.
  52. config BR2_TARGET_ROOTFS_OCI_PORTS
  53. string "ports"
  54. help
  55. Default set of ports to expose from a container running
  56. this image as a space-separted list of ports in the following
  57. format:
  58. <port>/tcp, <port>/udp, <port> (same as <port>/tcp).
  59. config BR2_TARGET_ROOTFS_OCI_LABELS
  60. string "labels"
  61. help
  62. Metadata in the format KEY=VALUE for the container compliant
  63. with OCI annotation rules. If KEY starts with a dot, it will
  64. be prefixed with "org.opencontainers.image"
  65. (e.g. .url -> org.opencontainers.image.url).
  66. config BR2_TARGET_ROOTFS_OCI_ARCHIVE
  67. bool "pack oci image into a tar archive"
  68. help
  69. Select whether the image should be packed into a TAR archive.
  70. endif