Customizing Shopware Docker Images for Kubernetes & Helm Deployments

Deploying and managing Shopware on Kubernetes with Helm offers powerful scalability and control. However, customizing the core Shopware Docker image used in these sophisticated setups can sometimes present a challenge, especially when the source for specific images isn't immediately apparent.

Unraveling the Shopware Kubernetes Image Source

A recent discussion on the Shopware forum highlighted a common technical hurdle for developers and DevOps engineers: locating the source code for the specialized Shopware Docker image used within the official Helm operator setup. The user, 'pubbles1', sought to customize the image, specifically referencing ghcr.io/shopware/shopware-kubernetes:latest, which is typically configured in the values.yaml of the Shopware Helm chart.

The core of the problem was the lack of a direct GitHub repository link for this particular Kubernetes-optimized image. The user also questioned whether a standard Shopware Docker production image (e.g., from github.com/shopware/docker/blob/main/frankenphp-otel) could be used as an alternative or base for customization.

The Solution: Official Helm Chart Documentation

Initially, the community suggested redirecting such highly technical questions to the Shopware developer chat on Discord, indicating the specialized nature of the query. Fortunately, 'pubbles1' followed this advice and returned with a crucial answer provided by "Patrick" from the Shopware team.

The key insight points directly to the official Shopware Helm Charts repository on GitHub. Within this repository, the README.md file for the Shopware chart contains a dedicated section on how to create a custom Docker image. This is the definitive guide for anyone looking to modify or build upon the base Shopware image for their Kubernetes deployments.

The relevant documentation can be found here:

This resource clarifies that while a specific public source for the pre-built shopware-kubernetes:latest image might not be explicitly linked as a separate repo, the Helm charts repository itself provides the necessary instructions and context to build your own custom image tailored for Kubernetes environments.

Key Takeaways for Shopware Developers & DevOps

  • Centralized Documentation: For advanced deployment scenarios like Kubernetes with Helm, the official shopware/helm-charts GitHub repository is a critical resource, not just for the charts themselves but also for associated documentation on image creation.
  • Custom Image Creation: Developers are encouraged to create their own Docker images based on the provided guidelines within the Helm chart documentation, allowing for full customization and control over their Shopware environment in Kubernetes.
  • Community & Discord: For highly specific and technical development questions, the Shopware developer chat (often on Discord) serves as an invaluable direct channel to core developers and community experts.
  • Understanding the Ecosystem: This thread underscores the importance of understanding the Shopware ecosystem's various components – from Docker images to Helm charts and community support channels – for successful enterprise-grade deployments.

By leveraging these resources, merchants and developers can confidently deploy and customize Shopware within a robust Kubernetes infrastructure, ensuring their e-commerce platform meets specific operational and performance requirements.

Start with the tools

Explore migration tools

See options, compare methods, and pick the path that fits your store.

Explore migration tools