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

COPY <src> <dst> command #17

Open
tj opened this issue Aug 22, 2014 · 0 comments
Open

COPY <src> <dst> command #17

tj opened this issue Aug 22, 2014 · 0 comments

Comments

@tj
Copy link
Member

tj commented Aug 22, 2014

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
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant