Skip to content

Commit

Permalink
Added Documentation for container_layer for empty_dirs (bazelbuild#1237)
Browse files Browse the repository at this point in the history
* Added documentation for empty_dirs on container_layer

* Revert "Added documentation for empty_dirs on container_layer"

This reverts commit ea59351.

* Added empty_dirs documentation to container_layer

* Added extra period
  • Loading branch information
muhammadharis authored and nlopezgi committed Oct 23, 2019
1 parent 1029fcb commit 582ea1a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1542,7 +1542,7 @@ configuration. See [here](#container_push-custom-client-configuration) for detai
## container_layer

```python
container_layer(data_path, directory, files, mode, tars, debs, symlinks, env)
container_layer(data_path, directory, empty_dirs, files, mode, tars, debs, symlinks, env)
```

A rule that assembles data into a tarball which can be use as in `layers` attr in `container_image` rule.
Expand Down Expand Up @@ -1615,6 +1615,16 @@ A rule that assembles data into a tarball which can be use as in `layers` attr i
</p>
</td>
</tr>
<tr>
<td><code>empty_dirs</code></td>
<td>
<code>List of directories, optional</code>
<p>Directory to add to the layer.</p>
<p>
A list of empty directories that should be created in the Docker image.
</p>
</td>
</tr>
<tr>
<td><code>files</code></td>
<td>
Expand Down

0 comments on commit 582ea1a

Please sign in to comment.