# Overview

{% hint style="info" %}
This is an older version of the document. To view the most recent version of the document, click [here](https://docs.opsmx.com/products/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/configure-the-image-bakery/overview-1).
{% endhint %}

## Image Bake Overview <a href="#image-bake-overview" id="image-bake-overview"></a>

* Since the concept of Immutable Infrastructure is core to Spinnaker, Spinnaker comes with an image bakery powered by Hashicorp’s Packer to help produce machine images.
* For getting started, the default configuration (no changes required) provides you with enough Packer templates & base machine image options to learn how the system works. However, once you want to start customizing the bake process or use artifacts not supported by the default configuration, these documentation pages will describe how to further configure the bakery.
* There are two types of configurations for baking images
  1. Packer Templates
  2. Image Provider Configuration

### Packer Templates <a href="#packer-templates" id="packer-templates"></a>

1. Every time we trigger a bake using Spinnaker, Spinnaker invokes a [packer template](https://www.packer.io/docs/templates/index.html) with a mix of [variables](https://www.packer.io/docs/templates/index.html) provided, the Pipeline currently being executed, and Spinnaker itself.
2. All of the default packer templates are versioned alongside Rosco, the image bakery service [here](https://github.com/spinnaker/rosco/tree/master/rosco-web/config/packer). If want to override/include a new template, place it into \~/.hal/DEPLOYMENT/profiles/rosco/packer/ (DEPLOYMENT is typically default, read more [here](https://www.spinnaker.io/reference/halyard/)). Any local scripts/artifacts required by that template can also be placed into that directory, and referenced relative to the configDir Packer variable that will automatically be set.

### Image Provider Configuration <a href="#image-provider-configuration" id="image-provider-configuration"></a>

1. The Following are the providers that currently support image bakery in Spinnaker
   * Google Compute Engine


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.opsmx.com/opsmx-context-graph-and-data-fabric/additional-resources/previous-releases/isd-3.10/orchestration-module-opsmx-enterprise-for-spinnaker-oes/additional-feature-configuration/configure-the-image-bakery/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
