Skip to content

Feature to make variations of init container Dockerfiles for other platforms like OCP #1616

@mregmi

Description

@mregmi

Currently there is only one variation of Dockerfile for initcontainers. But they differ a bit between vanilla Kubernetes and OpenShift. So we currently modify the Dockerfile to customize for OpenShift. It would be nice if we can do make dockerfile to create a separate Dockerfiles for OCP (when run with ENV variable). Some differences are below.

  • we use different base image (RedHat UBI)
  • We cannot use the currently used toybox as it modifies base image's /bin
  • We need some custom commands to install packages as UBI image is small and does not contain everything we need.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions