-
Notifications
You must be signed in to change notification settings - Fork 907
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 to Enable Mono Based Choco Builds #1153
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.
This looks good, can you make the following changes:
- Is it okay if we put these files in a subfolder or do they need to be at root? I'm not a big fan of having them in the root. Also, that folder should be docker/linux/Dockerfile to allow for a Windows Dockerfile to be added as well.
- Can you squash all commits down to one?
- When you squash the commits - add
(maint)
to the commit and fix up your message to use a short summary followed by a commit body that explains what this is for more deeply.
Added more to that second bit. |
Thanks for reviewing.
|
Adds a dockerfile for the mono choco build. Adds the wrapper Bash script for easier choco commands in the container. Stores assets in a docker subfolder. Adds documentation on how to build the image yourself.
Hopefully that satisfies your change requests. |
That looks great! |
See this is still marked as needing changes. Anything else I can do? |
No sir. All good to go. Merged in. Thanks! |
👍 Now we've got the right stuff in place for an official Docker Hub build! Excited for that next step. |
Linking bazelbuild/bazel#4559 for a +1. #1020 is a likely fix, since it would allow us to use supported mono containers which (presumably!) have up-to-date SSL certs within. |
This PR provides a Dockerfile and choco_wrapper script to enable easy Linux based choco.exe usage.
The Dockerfile copies the entire source tree into the container and then builds choco.exe using the build.sh script.
The choco_wrapper is copied into /usr/local/bin/choco and allows for easier execution of choco.exe using mono.
I suggest linking the repository to Docker Hub and releasing various versions of the Docker image using their build process.