-
Notifications
You must be signed in to change notification settings - Fork 303
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
chore: Added a Dockerfile to be able to easily build and test. #615
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be merged in with the existing Dockerfile?
@childish-sambino I didn't really understand the usage of the existing one, so I created a new.
If the purpose is to be able to build and test the solution they could of course be merged. |
The documentation stated:
So if it also has other purposes, the change should perhaps be done by https://github.com/twilio/ in order to make sure that it is still valid for testing purposes. |
Hi @marcusber, |
@JenniferMah Of course. When it comes to my local computer I do not have all those legacy frameworks installed, so using Docker was easier for me. So, no, it did not build on my local installation of VS2022 (net6 and some more, but not enough to build the repo). Also, I don't have make on my windows machine. The Dockerfile in this PR installs all that. Building as well as all tests works (both using dotnet build and make). Using the commands in the README.md you could build and update the code in the repo, without being forced to rebuild the docker-image after every update. Sorry about the confusion. |
I'm in favor of merging the changes into the existing Dockerfile. I can test afterwards in our internal process to make sure everything still works properly. One thing we do need for the internal process is the steps:
We want to ensure we have the source in the image (instead of coming from a mounted volume). This should still work with your documentation additions as you can still mount the volume for more rapid local development; it will just either reside alongside or replace the Let me know if more clarification is needed. |
Closed in favor of #623 |
Fixes
Adds a Dockerfile for building and testing the solution. Makes the solution more accessible for contributing developers.
Checklist