From 99c407e916364c93db6b67f0cda6f0a2f24242c2 Mon Sep 17 00:00:00 2001 From: Lars Almgren Date: Mon, 9 Mar 2020 14:02:06 +0100 Subject: [PATCH] docs(container image): add info for cmd and entrypoint regarding "" & [] (#1453) --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index b6c7bad79..fb3d390a6 100644 --- a/README.md +++ b/README.md @@ -1975,6 +1975,11 @@ container_image(name, base, data_path, directory, files, legacy_repository_namin String or string list, optional

List of entrypoints to add in the image.

+

+ The behavior between using "" and [] may differ. + Please see [#1448](https://github.com/bazelbuild/rules_docker/issues/1448) + for more details. +

Set entrypoint to None, [] or "" will set the Entrypoint of the image @@ -1989,6 +1994,11 @@ container_image(name, base, data_path, directory, files, legacy_repository_namin String or string list, optional

List of commands to execute in the image.

+

+ The behavior between using "" and [] may differ. + Please see [#1448](https://github.com/bazelbuild/rules_docker/issues/1448) + for more details. +

Set cmd to None, [] or "" will set the Cmd of the image to be