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

feat(build-strategy): Add Docker build strategy #442

Merged
merged 2 commits into from
May 13, 2020

Conversation

lholmquist
Copy link
Member

@lholmquist lholmquist commented May 11, 2020

  • This adds a new flag build.strategy which takes the values Docker or Source. default to Source.

  • Source will build with an s2i image, while Docker will use the Dockerfile from the application to build.

To use the Docker strat, you would do npx nodeshift --build.strategy=Docker

For testing this out, i've been using CRC, and this sample dockerized node app, https://github.com/nodeshift-starters/basic-node-app-dockerized

* This adds a new flag `build.strategy` which takes the values Docker or Source.  default to Source.
* Source will build with an s2i image, while Docker will use the Dockerfile from the application to build.
@lholmquist lholmquist marked this pull request as ready for review May 11, 2020 17:42
@lholmquist lholmquist requested review from aalykiot, helio-frota, lance, danbev and a team and removed request for a team May 11, 2020 17:42
@lholmquist lholmquist added this to Review in progress in Tooling and Modules May 13, 2020
@lholmquist lholmquist merged commit 384690f into nodeshift:master May 13, 2020
Tooling and Modules automation moved this from Review in progress to Done May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants