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

New application samples in Red Hat OpenShift 4.8

October 1, 2021
Don Schenck
Related topics:
.NETJavaNode.jsPythonQuarkusSpring Boot
Related products:
Red Hat OpenShift

Share:

    As Red Hat OpenShift continues to evolve and improve, our efforts to promote developer success ramp up as well. The OpenShift developer dashboard provides sample applications that are just a few clicks away from deployment. These samples are spread across a wide range of software development interests and stacks, so you'll probably find one of interest to you.

    For OpenShift 4.8, four new samples have been added, while four others have been updated. A total of 14 samples are at hand for the new or curious developer. We'll review all the samples in this article.

    Updated samples

    We've made sure to keep up with version changes in languages and frameworks. We are also increasingly moving from the Red Hat Enterprise Linux container base image to Red Hat Universal Base Images (UBI).

    .NET

    The .NET sample application is updated to run on .NET 5 and uses UBI 8 as the base image. The previous sample was .NET Core 3.1 running on Red Hat Enterprise Linux 7 as the base image. Both solutions use the Source-to-Image (S2I) feature of OpenShift and both result in a Linux image running in a Linux container.

    Node.js

    The only change here is a switch from Red Hat Enterprise Linux 7 to UBI 8 as the base image. Both samples use Node.js version 14.

    Python

    This sample contains a minor update from Python 3.8 and UBI 7 to Python 3.9 and UBI 8.

    Ruby

    Both the previous sample and the new sample use UBI 7. Ruby has been updated from version 2.7 to version 3.0.

    New samples

    Many of these samples seek to provide even simpler experiences for new developers.

    Basic Node.js

    This very elementary Node.js application uses Express version 4.17.x. This sample does not use any Red Hat operating system container image as a base image.

    Basic Python

    This very elementary Python "hello world" application does not use any Red Hat operating system container image as a base image.

    Basic Quarkus "hello world" Java application

    This is an excellent example to get started using Quarkus to build container images for OpenShift.

    "Hello world" Java Spring Boot application using Maven

    This elementary "hello world" application for Spring Boot does not use any Red Hat operating system container image as a base image.

    Unchanged samples

    We continue to offer the following samples, which remain the same as they were in the previous version of OpenShift:

    • Go on UBI 8
    • Apache HTTP Server 2.4 on Red Hat Enterprise Linux 7
    • Java using Maven and OpenJDK 11
    • Nginx HTTP server and a reverse proxy on Red Hat Enterprise Linux 7
    • Perl 5.30 on Red Hat Enterprise Linux 7
    • PHP 7.4 on UBI 8

    Want to try a sample? Or all of them?

    Within minutes you can have a free OpenShift cluster at your command to try any or all of these samples. Simply hop over to the Developer Sandbox for Red Hat OpenShift and get your free account. While there, be sure to check out the ever-growing list of sandbox activities.

    Let us know want you're looking for

    Want to see more samples? Are we missing some important development stacks? Leave a comment on this article and we'll see what we can do.

    Last updated: October 30, 2024

    Related Posts

    • What's new in the Red Hat OpenShift 4.8 console

    Recent Posts

    • How Kafka improves agentic AI

    • How to use service mesh to improve AI model security

    • How to run AI models in cloud development environments

    • How Trilio secures OpenShift virtual machines and containers

    • How to implement observability with Node.js and Llama Stack

    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