-
-
Notifications
You must be signed in to change notification settings - Fork 3
Proposal to Add Packer Build Support for Windows Container #2
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
Comments
I saw
|
I tried adding
The log is as follows:
If you see In short, I feel that there is great hope for porting |
Convert
|
In catthehacker/ubuntu, it was often required to patch the installer files. Due to this is this repository taring the whole disk of the hosted runner, which is the most stable way of getting the full image as of the last 6months into a docker image. In Yes for windows, is using the public packer template via an windows container the only option that the windows license allows. I'm not really using windows container as a replacement for windows-latest, my OS disk is too small for storing big images. |
Dear @ChristopherHX and fellow developers,
First and foremost, I would like to express sincere gratitude to @ChristopherHX for the valuable contributions that enable us to smoothly utilize GitHub's official actions/runner through ChristopherHX/gitea-actions-runner. Additionally, I appreciate the efforts put into the project https://github.com/ChristopherHX/runner.server, which adds support for Windows Container to actions/runner.
However, as the scripts executed by actions/runner are based on Node.js, using the standard Microsoft Windows image directly does not meet our requirements. We need to pack additional components such as nodejs and git to fulfill our needs.
During my exploration, I came across the windows-2019.json file in actions/runner-images. I noticed that it is packed using the packer tool, and the related file can be found here:
https://github.com/actions/runner-images/blob/main/images/windows/templates/windows-2019.json
#https://github.com/hashicorp/packer/releases
To meet our specific needs, I attempted to pack a Windows Container image using the following Packer configuration on Windows:
This configuration ran successfully, producing the desired Windows Container image.
I would like to inquire whether @ChristopherHX has considered packing
windows-2019
using packer to broaden the support forWindows Container
.Once again, thank you for your contributions and time.
Best regards,
oilrich25
The text was updated successfully, but these errors were encountered: