Skip to content

Commit 582ea1a

Browse files
muhammadharisnlopezgi
authored andcommitted
Added Documentation for container_layer for empty_dirs (#1237)
* 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
1 parent 1029fcb commit 582ea1a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1542,7 +1542,7 @@ configuration. See [here](#container_push-custom-client-configuration) for detai
15421542
## container_layer
15431543

15441544
```python
1545-
container_layer(data_path, directory, files, mode, tars, debs, symlinks, env)
1545+
container_layer(data_path, directory, empty_dirs, files, mode, tars, debs, symlinks, env)
15461546
```
15471547

15481548
A rule that assembles data into a tarball which can be use as in `layers` attr in `container_image` rule.
@@ -1615,6 +1615,16 @@ A rule that assembles data into a tarball which can be use as in `layers` attr i
16151615
</p>
16161616
</td>
16171617
</tr>
1618+
<tr>
1619+
<td><code>empty_dirs</code></td>
1620+
<td>
1621+
<code>List of directories, optional</code>
1622+
<p>Directory to add to the layer.</p>
1623+
<p>
1624+
A list of empty directories that should be created in the Docker image.
1625+
</p>
1626+
</td>
1627+
</tr>
16181628
<tr>
16191629
<td><code>files</code></td>
16201630
<td>

0 commit comments

Comments
 (0)