Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1583,7 +1583,7 @@ configuration. See [here](#container_push-custom-client-configuration) for detai
## container_layer

```python
container_layer(data_path, directory, empty_dirs, files, mode, tars, debs, symlinks, env)
container_layer(data_path, directory, empty_dirs, empty_files, 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 @@ -1666,6 +1666,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_files</code></td>
<td>
<code>List of empty files, optional</code>
<p>File to add to the layer.</p>
<p>
A list of empty files that should be created in the Docker image.
</p>
</td>
</tr>
<tr>
<td><code>files</code></td>
<td>
Expand Down