-
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
Example of azure builder with a custom image / image url #3785
Comments
I just submitted a PR with an example for Linux and Windows. Basically, remove this "image_publisher": "Canonical",
"image_offer": "UbuntuServer",
"image_sku": "16.04.0-LTS", in favor of this "image_url": "https://my-storage-account.blob.core.windows.net/path/to/your/custom/image.vhd", The only difference between the two is the os_type variable is set to Linux or Windows. |
Here is my image code for ubuntu image ### ubuntu.json
it will build successfully and output will be
if i run l |
found one solution
with above code i can use SIG and in next build use SIG version |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
@paulmey can you provide an example of how to use the azure builder with a custom image as the input rather than something from the market place?
I see from reading the code briefly its possible to use an image url configuration item but I haven't seen this documented anywhere.
The text was updated successfully, but these errors were encountered: