-
Notifications
You must be signed in to change notification settings - Fork 902
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
Publish a Docker Image using Docker Hub #1718
Comments
I think it would be cool if there is an official Docker container image for chocolatey based on Linux that is actively maintained. Maybe Chocolatey Community would be the right place for it. I could help keep it up to date, with version tags. |
I also think this would be of value. The image should probably have a signed version of choco. Therefore the image needs to either come from chocolatey themselves or a signed mono choco build needs to be made(#1002) which then can be used by the community to make docker images. |
Todo list:
|
What were you thinking here? @JPRuskin did you have any input here? |
Some of these may have simple answers. I haven't uploaded any images to docker hub before, so I am not knowledgeable in this area.
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/ https://mauridb.medium.com/docker-multi-architecture-images-365a44c26be6 |
It's not really best practice to use a I would recommend "just get it to work and publish it with a specific tag". In the future, when the time comes for a bugfix or feature, publish a new tag. |
If you can provide the always newest as If you provide A tag with the exact version of chocolatey would be useful, but don't know what you want to do when you rebuild the image again with a newer base image (mono) underneath. Overwrite the same tag? Or combine the two choco + mono version. It's hard for me to make suggestions here. The |
As in a
IMHO, the underlying mono version should only be updated with new versions of Chocolatey itself.
Both a a Windows image and a Linux image are wanted. Are you saying that the tooling is not currently up to the task of creating both Linux and Windows os images with a single image name? So there instead would need to be |
Windows images are unusual for things like this. But Linux image that run on Windows are fine. You say "A Windows image is wanted"... what does that mean? |
An image that launches a Windows container, not an image that launches a Linux container on Windows. That way, choco is (almost) fully functional. Something like this: |
OK. My use-case has always been building choco packages and pushing them using macOS or Linux. I'm not sure why somebody on Windows (the only place a Windows container can run) would necessarily need this. |
Same here.
Validating that packages install without needing to spin up a full VM. Or running the package internalizer in a CI pipeline? |
Well, I did a demo at the Chocolatey fest 2018 how to use a choco base image to easily install eg. nodejs in a Windows container instead of all the manual steps 😄 Or to fully test a new choco package in a ephemeral environment. But I agree this only works for some non-gui tools. But I just learned that choco pack and push could be run on Linux which is a good thing for CI, so yeah let's put that into a Linux image. 👍 |
After some discussion with @gep13, here is the plan:
|
Changes the image name from "mono-choco" to "choco", and changes the image tag from the implicit "latest" to "latest-linux" as discussed in chocolatey#1718. Also adjusts the official build to use include the offical docker username of chocolatey in the image name.
Changes the image name from "mono-choco" to "choco", and changes the image tag from the implicit "latest" to "latest-linux" as discussed in chocolatey#1718. Also adjusts the official build to use include the offical docker username of chocolatey in the image name.
Doh! This one should have been the one in the release notes. Will close this as a duplicate of #2534 |
Based on my prior work in #1153, I'd like to close the loop on getting an official Docker Hub build setup for the project. I'm currently maintaining a separate image here, but we aren't automatically tracking versions as development continues in the main project. https://cloud.docker.com/repository/docker/linuturk/mono-choco/general
Based on a reported issue against my repo, it seems there is value for end users here. Linuturk/mono-choco#14
I'd be happy to setup some time with the project maintainers to help setup Docker Hub builds. Happy to have a phone or video call to assist.
The text was updated successfully, but these errors were encountered: