Daniel Nephin

Results 443 comments of Daniel Nephin

Providing templating for the `Dockerfile` would also solve the problem of building chains of images where you want each to have a unique ID. There is no other mechanism for...

Setting anything on the command line is difficult. `dobi` was designed so that any parameters are encoded in the config. `make` works in a similar way. The only way to...

I'm not familiar with this tool, but I took a look at https://github.com/eywalker/nvidia-docker-compose/blob/master/bin/nvidia-docker-compose I think the way to use the tool is with the `--generate` flag. Something like this should...

I'm not sure, but you can set the API version that the client sends to the server with the `DOCKER_API_VERSION` environment variable. `go-dockerclient` supports the same variable. Maybe that will...

I don't have any good ideas for how to model this in the config just yet.

> What if a job could take multiple commands? A container can only run one process (unless you exec). Would each command be an exec, or would they be different...

I'm thinking something like this: A new field `requires` available on most resources that only allows "context-like" tasks (currently `job:capture`, `compose:run`, and `job:serve`). These "context-like" tasks would not be allowed...

Thanks for the bug report! One workaround (which is definitely not great) is to create an alias for `compose/base:down` and make `env/base` run first: ``` alias=cleanup: tasks: ['env/base', 'compose/base:down'] ```...

It is not possible yet. It would require adding a field to the `job` resource and passing it through here: https://github.com/dnephin/dobi/blob/master/tasks/job/run.go#L256-L281

Yes please, that would be great, thank you!