Skip to content

COPY <src> <dst> command #17

@tj

Description

@tj

suppose you had foo.conf:

exec /path/to/bin --cluster {name} \
  --some-option \
  --another-option

the following would create /etc/init/foo.conf where {name} is prompted for a value
or accepted via --name:

# Creating foo.conf as {name}
copy foo.conf /etc/init/foo.conf

the canonical version would be something like:

COPY /etc/init/foo.conf {
exec /path/to/bin --cluster {name} \
  --some-option \
  --another-option
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions