Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.34 KB

README.md

File metadata and controls

25 lines (22 loc) · 1.34 KB

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