-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Is there an easy way to let Azure Resource Manager Templates build a docker image? #196
Comments
Hi @daniela-waranie, it might be possible but I'm not sure how straightforward it would be. I think @StanleyGoldman tried it once and went through some pain (please correct me if I'm wrong), maybe he can share his experience. |
I am also interested in a docker image. |
This issue has not had any activity for 45 days and will be closed in 45 days if there continues to be no activity. |
@StanleyGoldman, please share your experience with us. |
I was able to modify the packer definition to build a docker image for my use cases. I ended up removing a lot of packages that I did not need to reduce the image size, the build time, and to avoid issues caused by differences between the Azure and Docker base images. The excluded packages may have issues when building in docker that I did not encounter. This could be the starting point for more generalized docker support: master...jpb:docker. |
@daniela-waranie I'll close this since there's no supported way to do this right now. I think it's fine to keep the discussion going here as a closed issue or we can move it to the community forums: https://github.saobby.my.eu.orgmunity/t5/GitHub-Actions/bd-p/actions. |
This ticket started out as a support request, but more and more thinking about it i would now like to treat it as a feature request: "build azure base images and docker images with the same provisioning tool" / "add docker image as a supported option to run github actions locally" |
would be cool it you can reopen this ticket |
Hi, @daniela-waranie. At this time this is not a feature we plan to support. |
I do not know the azure ecosystem. Is there an option in azure to build a docker image based on this file: https://github.com/actions/virtual-environments/blob/master/images/linux/ubuntu1804.json
I could try to execute or convert all shell commands to a Dockerfile but i would prefer an automated approach, to easily catch-up this this repo, if it changes. Is azure able to output docker images from this template? Is there a converter to Dockerfile available? Other ideas?
PS: I want to run some stuff in a local build environment, before pushing it to github (to let github build my official release).
The text was updated successfully, but these errors were encountered: