8000 [FR] Any way to run default image command? · Issue #100 · binci/binci · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[FR] Any way to run default image command? #100

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

Open
rafamel opened this issue Jan 9, 2019 · 2 comments
Open

[FR] Any way to run default image command? #100

rafamel opened this issue Jan 9, 2019 · 2 comments

Comments

@rafamel
Copy link
rafamel commented Jan 9, 2019

Hi, is there any way to run the default command of a given image running as a primary container without making it explicit as a task?

Thanks for the awesome work!

@ksafranski
Copy link
Member

If I'm understanding the question correctly; you can set any scripts you want to be handled as a default command to the before in the binci.yml (realize we should improve documentation here):

from: node
before: |
  echo "Doing something..."
tasks:
  install: yarn
  ...

@rafamel
Copy link
Author
rafamel commented Jan 14, 2019

Hi @Fluidbyte, thanks for the answer, I was referring to running the default command declared by the image for the container. In any case, I've decided to just make a think wrapper around docker-compose for these ephemeral containers instead of using binci/others. Issue should be closed, as far as I'm concerned.

Again, thanks for the work!
Rafa.

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

2 participants
0