Skip to main content
Redhat Developers  Logo
  • Products

    Featured

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat OpenShift AI
      Red Hat OpenShift AI
    • Red Hat Enterprise Linux AI
      Linux icon inside of a brain
    • Image mode for Red Hat Enterprise Linux
      RHEL image mode
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • Red Hat Developer Hub
      Developer Hub
    • View All Red Hat Products
    • Linux

      • Red Hat Enterprise Linux
      • Image mode for Red Hat Enterprise Linux
      • Red Hat Universal Base Images (UBI)
    • Java runtimes & frameworks

      • JBoss Enterprise Application Platform
      • Red Hat build of OpenJDK
    • Kubernetes

      • Red Hat OpenShift
      • Microsoft Azure Red Hat OpenShift
      • Red Hat OpenShift Virtualization
      • Red Hat OpenShift Lightspeed
    • Integration & App Connectivity

      • Red Hat Build of Apache Camel
      • Red Hat Service Interconnect
      • Red Hat Connectivity Link
    • AI/ML

      • Red Hat OpenShift AI
      • Red Hat Enterprise Linux AI
    • Automation

      • Red Hat Ansible Automation Platform
      • Red Hat Ansible Lightspeed
    • Developer tools

      • Red Hat Trusted Software Supply Chain
      • Podman Desktop
      • Red Hat OpenShift Dev Spaces
    • Developer Sandbox

      Developer Sandbox
      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Openshift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • View All Technologies
    • Programming Languages & Frameworks

      • Java
      • Python
      • JavaScript
    • System Design & Architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer Productivity

      • Developer productivity
      • Developer Tools
      • GitOps
    • Secure Development & Architectures

      • Security
      • Secure coding
    • Platform Engineering

      • DevOps
      • DevSecOps
      • Ansible automation for applications and services
    • Automated Data Processing

      • AI/ML
      • Data Science
      • Apache Kafka on Kubernetes
      • View All Technologies
    • Start exploring in the Developer Sandbox for free

      sandbox graphic
      Try Red Hat's products and technologies without setup or configuration.
    • Try at no cost
  • Learn

    Featured

    • Kubernetes & Cloud Native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • Java
      Java icon
    • AI/ML
      AI/ML Icon
    • View All Learning Resources

    E-Books

    • GitOps Cookbook
    • Podman in Action
    • Kubernetes Operators
    • The Path to GitOps
    • View All E-books

    Cheat Sheets

    • Linux Commands
    • Bash Commands
    • Git
    • systemd Commands
    • View All Cheat Sheets

    Documentation

    • API Catalog
    • Product Documentation
    • Legacy Documentation
    • Red Hat Learning

      Learning image
      Boost your technical skills to expert-level with the help of interactive lessons offered by various Red Hat Learning programs.
    • Explore Red Hat Learning
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Introducing Builds for OpenShift 1.2

December 16, 2024
Siamak Sadeghianfar
Related topics:
CI/CDDeveloper Tools
Related products:
Red Hat OpenShift

Share:

    Builds for OpenShift provides developers with a consistent and secure way to create container images directly within Red Hat OpenShift clusters. With its foundation built on Shipwright, an open source CNCF project, Builds for OpenShift simplifies the process of creating OCI-compliant images using the image build of your choice while leveraging OpenShift's enterprise-grade capabilities.

    Builds for OpenShift 1.2 is now generally available! This release introduces new features designed to enhance usability, broaden platform support, and enable developers to use Builds in a wider range of environments.

    What’s new in Builds for OpenShift 1.2

    The 1.2 release of Builds for OpenShift focuses on extending the product’s usability across diverse environments and architectures while continuing to improve the user experience of building container images on the platform. Let’s dive into the highlights.

    Support for air-gapped environments and restricted networks

    Many organizations run their container infrastructure in disconnected environments where clusters do not have full access to the internet due to the security requirements. With the 1.2 release, admins can take advantage of OpenShift mirroring procedure for disconnected clusters in order to install Builds from the OperatorHub and enable developers to run image builds within these clusters. 

    Support for Arm and IBM Power and Z systems

    Red Hat OpenShift is supported on a diverse range of architectures and infrastructure including x86, Arm and IBM Power, and Z systems. With the 1.2 release, Builds for OpenShift is available on all architectures that the OpenShift platform supports

    Shipwright Builds in Web Console

    In order to simplify application onboarding with Shipwright, developers can choose to build their application with Shipwright Builds when importing it within the OpenShift Web Console. A Shipwright Build is then generated for the application to build an image and push it to the image registry. Furthermore, the Shipwright views are enhanced to provide easy access to Shipwright resources such as Builds and BuildStrategies in addition to including Build samples within the YAML editor to assist creating new Builds based on the provided examples. 

    OpenShift Web Console - Import from Git with Shipwright Builds
    Figure 1: OpenShift Web Console—Import from Git with Shipwright Builds.
    OpenShift Web Console - Shipwright Builds
    Figure 2: OpenShift Web Console—Shipwright Builds.
    OpenShift Web Console - Shipwright Build Samples in YAML Editor
    Figure 3: OpenShift Web Console—Shipwright Build Samples in YAML Editor.

    Entitled builds with Shared Resource CSI Driver

    Shared Resource CSI Driver enables sharing secrets and ConfigMaps across namespaces while controlling granular access through Kubernetes RBAC. This is particularly useful when building container images using a Dockerfile to install Red Hat Enterprise Linux (RHEL) RPM packages during the build which require an active RHEL entitlement configured. Using the Shared Resource CSI Driver, a cluster admin could allow specific namespaces to mount the RHEL entitlements (included in an OpenShift subscription) secret which is available on the cluster directly into the Shipwright Builds, Tekton Pipelines, and etc. and install RHEL RPM packages during Dockerfile builds. See below:

    kind: SharedSecret
    metadata:
      name: etc-pki-entitlement
    spec:
      secretRef:
        name: etc-pki-entitlement
        namespace: openshift-config-managed

    Once the admin has created the SharedSecret for the RHEL entitlements secret and configures RBAC for the target namespaces, developers can create Builds that consume the RHEL entitlements during the image build, without having to duplicate them into their namespace:

    kind: Build
    metadata:
      name: myapp
    spec:
      ...
      strategy:
        name: buildah
        kind: ClusterBuildStrategy
      volumes:
      - csi:
          driver: csi.sharedresource.openshift.io
          readOnly: true 
          volumeAttributes:
            sharedSecret: etc-pki-entitlement
        name: etc-pki-entitlement

    Getting started with Builds

    Builds 1.2 is available in the OperatorHub on OpenShift 4.12 to 4.17. In order to try Builds, install the Builds for OpenShift operator from the OperatorHub. Once ready, follow this guide to build an image using one of the provided build strategies. You can read more about this release in the documentation. 

    Related Posts

    • Project Shipwright and the future of Red Hat OpenShift builds

    • Where can I download the OpenShift command line tool?

    • Debugging applications within Red Hat OpenShift containers

    • Container Images for OpenShift - Part 1: Objectives

    Recent Posts

    • GuideLLM: Evaluate LLM deployments for real-world inference

    • Unleashing multimodal magic with RamaLama

    • Integrate Red Hat AI Inference Server & LangChain in agentic workflows

    • Streamline multi-cloud operations with Ansible and ServiceNow

    • Automate dynamic application security testing with RapiDAST

    What’s up next?

    Learn the foundations of OpenShift through hands-on experience deploying and working with applications, using a no-cost OpenShift cluster through the Developer Sandbox for Red Hat OpenShift.

    Start the activity
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Products

    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform

    Build

    • Developer Sandbox
    • Developer Tools
    • Interactive Tutorials
    • API Catalog

    Quicklinks

    • Learning Resources
    • E-books
    • Cheat Sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site Status Dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue