Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document empty_files #1560

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
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