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
But I think it could be worked around by declaring:
"entrypoint": attr.string_list(doc = "A list of arguments to use as the `command` to execute when the container starts. These values act as defaults and may be replaced by an entrypoint specified when creating a container.",
default=["#magic-ignored-entrypoint#"]),
The text was updated successfully, but these errors were encountered:
sfc-gh-ptabor
changed the title
How to 'disable' an entrypoint
Ability to 'disable' an entrypoint in a base image (override to [])
Aug 17, 2023
I have a base image that has 'entrypoint' set.
I would like to use 'oci_image' to override the entrypoint to
[]
.but If I try, to do:
The image stays as is... as the empty entrypoint is ignored:
rules_oci/oci/private/image.bzl
Lines 150 to 151 in 59a0546
I think that nice solution depends on: bazelbuild/bazel#14434
But I think it could be worked around by declaring:
The text was updated successfully, but these errors were encountered: