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

Implement custom setup commands (Dockerfile's RUN) #15

Closed
denzp opened this issue Nov 10, 2019 · 0 comments · Fixed by #21
Closed

Implement custom setup commands (Dockerfile's RUN) #15

denzp opened this issue Nov 10, 2019 · 0 comments · Fixed by #21
Labels
frontend The core component

Comments

@denzp
Copy link
Owner

denzp commented Nov 10, 2019

Dockerfile statements:

RUN ["sudo", "chown", "-R", "rust:rust", "/rust-src"]
RUN apt-get install ffmpeg

Should have equivalent cargo-wharf metadata:

[package.metadata.wharf.builder]
setup-commands = [
  { command = ["sudo", "chown", "-R", "rust:rust", "/rust-src"] },
  { shell = "apt-get install ffmpeg" }
]

[package.metadata.wharf.output]
pre-install-commands = [
  { command = ["sudo", "chown", "-R", "rust:rust", "/rust-src"] },
  { shell = "apt-get install ffmpeg" }
]

post-install-commands = [
  { shell = "lld /bin/exec1"}
]
@denzp denzp mentioned this issue Nov 10, 2019
10 tasks
@denzp denzp added this to the frontend-v0.1.0 milestone Nov 10, 2019
@denzp denzp mentioned this issue Nov 18, 2019
@denzp denzp closed this as completed in #21 Nov 20, 2019
@denzp denzp added the frontend The core component label Nov 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend The core component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant