Skip to main content
Version: Weekly Build

oms beta extend baseimage

Generated from OMS version v2.113.0.

Extend Codesphere's workspace base image for customization

Synopsis​

Loads the baseimage from Codesphere package and generates a Dockerfile based on it. This enables you to extend Codesphere's base image with specific dependencies.

To use the custom base image, you need to push the resulting image to your container registry and reference it in your install-config for the Codesphere installation process to pick it up and include it in Codesphere

oms beta extend baseimage [flags]

Options​

-b, --baseimage string Base image file name inside the package to extend (default: 'workspace-agent-24.04') (default "workspace-agent-24.04")
-d, --dockerfile string Output Dockerfile to generate for extending the base image (default "Dockerfile")
-f, --force Enforce package extraction
-h, --help help for baseimage
-p, --package string Package file (e.g. codesphere-v1.2.3-installer.tar.gz) to load base image from

Options inherited from parent commands​

--verbose Enable verbose output

SEE ALSO​