Skip to content

esubah1989/che-devfile-registry

 
 

Repository files navigation

Build Status

Eclipse Che devfile registry

This repository holds ready-to-use Devfiles for different languages and technologies.

Build Eclipse Che devfile registry docker image

Execute

docker build --no-cache -t openshiftio/che-devfile-registry .

Where --no-cache is needed to prevent usage of cached layers with devfile registry files. Useful when you change devfile files and rebuild the image.

Note that the Dockerfiles feature multi-stage build, so it requires Docker of version 17.05 and higher. Though you may also just provide the image to the older versions of Docker (ex. on Minishift) by having it build on newer version, and pushing and pulling it from Docker Hub.

quay.io/openshiftio/che-devfile-registry:latest image would be rebuilt after each commit in master

OpenShift

You can deploy Che devfile registry on Openshift with command.

  oc new-app -f deploy/openshift/che-devfile-registry.yml \
             -p IMAGE="quay.io/openshiftio/che-devfile-registry" \
             -p IMAGE_TAG="latest" \
             -p PULL_POLICY="Always"

Kubernetes

You can deploy Che devfile registry on Kubernetes using helm. For example if you want to deploy it in the namespace kube-che and you are using minikube you can use the following command.

NAMESPACE="kube-che"
DOMAIN="$(minikube ip).nip.io"
helm upgrade --install che-devfile-registry \
    --debug \
    --namespace ${NAMESPACE} \
    --set global.ingressDomain=${DOMAIN} \
    ./deploy/kubernetes/che-devfile-registry/

You can use the following command to uninstall it.

helm delete --purge che-devfile-registry

Docker

docker run -it --rm -p 8080:8080 quay.io/openshiftio/che-devfile-registry

License

Che is open sourced under the Eclipse Public License 2.0.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 88.2%
  • Dockerfile 11.8%