You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd: A file containing a newline separated list to be used as the command & args of the container. These values act as defaults and may be replaced by any specified when creating a container.
entrypoint: A file containing a newline separated list to be used as the entrypoint to execute when the container starts. These values act as defaults and may be replaced by an entrypoint specified when creating a container. NOTE: Setting this attribute will reset the cmd attribute
Documentation for oci_image:
cmd: Command & argument configured by default in the running container. See documentation above.
entrypoint: Entrypoint configured by default in the running container. See documentation above.
Usage in e2e tests is inconsitent with these definitions:
"Command & argument configured by default in the running container" seems incorrect. The above example shows only the arguments are specified.
"A file containing a newline separated list to be used as the entrypoint to execute when the container starts. These values..." The type accepted here seems to be a list of strings, not a file.
The text was updated successfully, but these errors were encountered:
reddaly
changed the title
Documentation for cmd and entrypoint are inconsistent with implmentation
Documentation for cmd and entrypoint are imprecise/inconsistent with implementation
Sep 11, 2024
plobsing
added a commit
to plobsing/rules_oci
that referenced
this issue
Sep 28, 2024
Documentation for oci_image_rule:
Documentation for oci_image:
Usage in e2e tests is inconsitent with these definitions:
rules_oci/e2e/smoke/BUILD.bazel
Lines 8 to 19 in 5ff4c79
Issues with the above:
"Command & argument configured by default in the running container" seems incorrect. The above example shows only the arguments are specified.
"A file containing a newline separated list to be used as the entrypoint to execute when the container starts. These values..." The type accepted here seems to be a list of strings, not a file.
The text was updated successfully, but these errors were encountered: