Skip to content

Commit

Permalink
docs(container image): add info for cmd and entrypoint regarding "" &…
Browse files Browse the repository at this point in the history
… [] (#1453)
  • Loading branch information
Lars Almgren authored Mar 9, 2020
1 parent b9a1029 commit 99c407e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1975,6 +1975,11 @@ container_image(name, base, data_path, directory, files, legacy_repository_namin
<code>String or string list, optional</code>
<p><a href="https://docs.docker.com/engine/reference/builder/#entrypoint">List
of entrypoints to add in the image.</a></p>
<p>
The behavior between using <code>""</code> and <code>[]</code> may differ.
Please see [#1448](https://github.com/bazelbuild/rules_docker/issues/1448)
for more details.
</p>
<p>
Set <code>entrypoint</code> to <code>None</code>, <code>[]</code>
or <code>""</code> will set the <code>Entrypoint</code> of the image
Expand All @@ -1989,6 +1994,11 @@ container_image(name, base, data_path, directory, files, legacy_repository_namin
<code>String or string list, optional</code>
<p><a href="https://docs.docker.com/engine/reference/builder/#cmd">List
of commands to execute in the image.</a></p>
<p>
The behavior between using <code>""</code> and <code>[]</code> may differ.
Please see [#1448](https://github.com/bazelbuild/rules_docker/issues/1448)
for more details.
</p>
<p>
Set <code>cmd</code> to <code>None</code>, <code>[]</code>
or <code>""</code> will set the <code>Cmd</code> of the image to be
Expand Down

0 comments on commit 99c407e

Please sign in to comment.