Skip to content

feat: add Red Hat UBI9 minimal base image #298

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

blink-so[bot]
Copy link

@blink-so blink-so bot commented Jun 4, 2025

Summary

Adds a minimal Red Hat UBI9 base image for Coder workspaces, providing enterprise-grade security and compliance while maintaining a minimal footprint.

Features

Base Operating System

  • Red Hat UBI9: Enterprise-grade, security-focused base image
  • Enterprise Ready: Red Hat supported with regular security updates
  • Compliance: Meets enterprise security and compliance requirements
  • Minimal: Only essential packages included

Included Tools

  • Development Tools: GCC, make, and essential build tools
  • Docker CE: Container development and deployment
  • Git: Version control
  • Python 3: System Python with pip
  • System Utilities: curl, wget, jq, htop, vim, unzip, rsync, systemd

Design Approach

Follows the same minimal pattern as the existing Ubuntu base image:

  • Single-stage build for simplicity
  • Essential packages only
  • Designed to be extended by users
  • Non-root coder user with Docker group access

Use Cases

This base image is ideal for:

  • Enterprise environments requiring Red Hat compliance
  • Container development with Docker
  • Custom development images (extend with specific language runtimes)
  • Security-conscious deployments with minimal attack surface

Files Added

  • images/redhat-ubi9/ubi9.Dockerfile - Minimal Dockerfile following Ubuntu base pattern
  • images/redhat-ubi9/README.md - Comprehensive documentation with extension examples

Testing

  • ✅ Dockerfile syntax validated
  • ✅ Package installations verified
  • ✅ User permissions configured correctly
  • ✅ Follows coder/images repository conventions

This provides Coder users with an enterprise-ready, minimal base image that can be extended for specific development needs while maintaining Red Hat compliance.

Blink added 3 commits June 4, 2025 19:16
- Simplified Dockerfile to match Ubuntu base image pattern
- Removed multi-stage builds and extensive tooling
- Kept only essential packages: Docker, Git, Python, development tools
- Updated README to reflect minimal base image approach
- Image now serves as extensible base rather than comprehensive environment
- Follows coder/images repository conventions for base images
- Add required blank lines after headings
- Fixes CI formatting check failure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants