Skip to content

sebastian-luna-valero/binderhub

 
 

Repository files navigation

CERIT-SC binderhub

Description

Binderhub helm chart using Kaniko instead of repo2docker to build images.

Getting started

Steps to run with DockerHub registry

  1. Clone repository
  2. Install helm chart helm install <NAME> <PATH/TO/CLONED/REPO> --namespace=<NAMESPACE> -f config.yaml
  3. Copy EXTERNAL-IP of proxy-public service (kubectl get svc) into the config.yaml file
  4. Specify image prefix with your DockerHub name and desired prefix (something like "dockerhub_user_123/test-img-")
  5. Upgrade helm chart helm upgrade <NAME> <PATH/TO/CLONED/REPO> --namespace=<NAMESPACE> -f config.yaml
  6. Create secret containing authentization to DockerHub registry
    kubectl create secret docker-registry dockercred
       --docker-server=https://index.docker.io/v1/    --docker-username=<USERNAME>    --docker-password=<PASSWORD>    --docker-email=<EMAIL>

    Note that dockercred secret name can be changed. In that case it is also necessary to change config.BinderHub.push_secret in config.yaml
  7. Open binder in your browser - accessible on EXTERNAL-IP of binder service (kubectl get svc)
  8. Run repo

Project status

In development... No main usable version released yet

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Smarty 65.7%
  • Python 32.0%
  • Mustache 2.3%