Giter VIP home page Giter VIP logo

isce2-repo2docker's Introduction

isce2-repo2docker

build isce2 jupyterhub-compatible image with github actions

Action Status

  • commits to master branch trigger re-building 'latest' image
  • pushing a tag results in a docker image with the same tag:
git tag -am "test v2.3.2" v2.3.2
git push --tags

images stored on dockerhub public repo: https://hub.docker.com/repository/docker/scottyhq/isce2-repo2docker

build image locally

git clone https://github.com/scottyhq/isce2-repo2docker.git
cd isce2-repo2docker
conda create repo2docker
conda activate repo2docker
pip install -r requirements.txt
export IMAGE=isce2-repo2docker
export TAG=latest
jupyter-repo2docker --debug --user-name jovyan --user-id 1000 --no-run --image-name $IMAGE:$TAG $PWD
docker login -u scottyhq --password-stdin
docker tag $IMAGE:$TAG
docker push $IMAGE:$TAG

use image to launch jupyterlab environment

docker pull docker.pkg.github.com/$IMAGE:$TAG
docker run -it --name repo2docker -p 8888:8888 $IMAGE:$TAG jupyter lab --ip 0.0.0.0
docker stop repo2docker
docker rm repo2docker

Use image in a binder-enabled repo

# in /myrepo/binder/Dockerfile:
FROM scottyhq/$IMAGE:$TAG

isce2-repo2docker's People

Contributors

scottyhq avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.