Skip to content

Commit

Permalink
fix: update stackeryaml ref doc for runtime_user
Browse files Browse the repository at this point in the history
the yaml value is `runtime_user`, not `user`.

Signed-off-by: Michael McCracken <[email protected]>
  • Loading branch information
mikemccracken committed Apr 16, 2024
1 parent 61d3828 commit cb2d14c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion doc/stacker_yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,18 @@ to be available under container's /usr/local/ and all the files/dirs from the ho
/path/to/directory2 to be available under container's /


### `environment`, `labels`, `working_dir`, `volumes`, `cmd`, `entrypoint`, `user`
### `environment`, `labels`, `working_dir`, `volumes`, `cmd`, `entrypoint`

These all correspond exactly to the similarly named bits in the [OCI image
config
spec](https://github.com/opencontainers/image-spec/blob/master/config.md#properties),
and are available for users to pass things through to the runtime environment
of the image.

### `runtime_user`

This sets the `user` field in the container config, as defined in the [OCI Image config spec](https://github.com/opencontainers/image-spec/blob/master/config.md#properties).

### `generate_labels`

The `generate_labels` entry is similar to `run` in that it contains a list of
Expand Down

0 comments on commit cb2d14c

Please sign in to comment.