---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [openshell](../index.md) / buildOpenShellDockerfile

# Function: buildOpenShellDockerfile()

> **buildOpenShellDockerfile**(`options`): `string`

Defined in: [packages/b2c-tooling-sdk/src/openshell/setup.ts:420](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/bceb8da43dd8bc63d57932bbd905d36a1b40c949/packages/b2c-tooling-sdk/src/openshell/setup.ts#L420)

Returns the Dockerfile for a sandbox image with the B2C CLI (and optionally
the MCP server) installed.

## Parameters

### options

Package versions to install; defaults to `latest`

#### cliVersion?

`string`

#### mcp?

`boolean`

#### mcpVersion?

`string`

## Returns

`string`
