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

Dockerfile as CI environment for pipe steps #804

Open
achow101 opened this issue Mar 2, 2021 · 2 comments
Open

Dockerfile as CI environment for pipe steps #804

achow101 opened this issue Mar 2, 2021 · 2 comments
Labels

Comments

@achow101
Copy link

achow101 commented Mar 2, 2021

Pipe currently only supports the image keyword for the steps. It'd be nice to be able to use the dockerfile keyword as can be done in tasks in order to use a dockerfile for the environment rather than a preexisting image.

@fkorotkov
Copy link
Contributor

Nice idea! But this might take a while to implement since each step can have dockerfile instead of image and then task dependency becomes a bit complex.

We are currently migrating of the internal parser written in Kotlin to a config parser in Go which is open sourced here. Once we'll fully migrate to the new parser (probably by the end of this month), we'll work on this feature so we only need to implement it in Go.

@achow101
Copy link
Author

achow101 commented Mar 2, 2021

I think a possible workaround would be to have a docker_builder task which builds an image that can be referred to with the image keyword. But I haven't figured out how to do that yet, and it may require #761

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants