/cloud-dev-images

Dockerfiles for images to use for cloud development environment on Kubernetes, with the DevWorkspace Operator, Eclipse Che or OpenShift Dev Spaces

Primary LanguageShellApache License 2.0Apache-2.0

Contribute Dev

Cloud Dev Images

A list of Dockerfiles, using different base images, to customize Eclipe Che and OpenShift Dev Spaces Cloud Development Environments.

alpine Dockerfile build build dogfooding devsandbox
busybox Dockerfile build build dogfooding devsandbox
docker Dockerfile build build dogfooding devsandbox
fedora Dockerfile build build dogfooding devsandbox
golang Dockerfile build build dogfooding devsandbox
openjdk Dockerfile build build dogfooding devsandbox
ubi8 Dockerfile build build dogfooding devsandbox
ubi9 Dockerfile build build dogfooding devsandbox
ubuntu Dockerfile build build dogfooding devsandbox

How to run the tests

Running the tests locally

Requirements

  • An OpenShift cluster with the DevWorkspace Operator (developer sandbox)
  • Linux or macOS with oc and kubectl

Runing the tests

export CLUSTER_URL="https://api.rm1.0a51.p1.openshiftapps.com:6443"
export CLUSTER_TOKEN="<token>"
export EDITOR_IMAGE="quay.io/che-incubator/che-code:insiders"

./run-tests.sh

Running the GH workflows

Requirements

  • An OpenShift cluster with the DevWorkspace Operator (developer sandbox)
  • Linux or macOS with gh (GitHub CLI)

Running the tests

export CLUSTER_URL="https://api.rm1.0a51.p1.openshiftapps.com:6443"
export CLUSTER_TOKEN="<token>"
export EDITOR_IMAGE="quay.io/che-incubator/che-code:insiders"

imgs=( "ubi8" "ubi9" "alpine" "busybox" "docker" "golang" "openjdk" "fedora" "ubuntu" )
for img in "${imgs[@]}"; do
    gh workflow run ${img}-vscode-startup.yaml \
                 -f sandboxURL="${CLUSTER_URL}" \
                 -f sandboxToken="${CLUSTER_TOKEN}" \
                 -f editorImage="${EDITOR_IMAGE}"
done