kopia lustrzana https://github.com/jupyterhub/repo2docker
test binder-dir handling
rodzic
0fa82b1790
commit
a9f0dd0f61
|
@ -0,0 +1,2 @@
|
||||||
|
dependencies:
|
||||||
|
- numpy
|
|
@ -0,0 +1,2 @@
|
||||||
|
FROM doesntmatter
|
||||||
|
# this file should be ignored because there's a .binder dir
|
|
@ -0,0 +1,4 @@
|
||||||
|
Binder Directory
|
||||||
|
----------------
|
||||||
|
|
||||||
|
top-level Dockerfile will be ignored if .binder/environment.yml exists.
|
|
@ -0,0 +1,3 @@
|
||||||
|
dependencies:
|
||||||
|
- thiswontwork
|
||||||
|
invalid
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
import sys
|
||||||
|
|
||||||
|
assert sys.version_info[:2] == (3, 6), sys.version
|
||||||
|
|
||||||
|
import numpy
|
|
@ -0,0 +1,9 @@
|
||||||
|
FROM python:3.5
|
||||||
|
|
||||||
|
ARG JUPYTERHUB_VERSION
|
||||||
|
RUN pip3 install jupyterhub==$JUPYTERHUB_VERSION
|
||||||
|
|
||||||
|
ENTRYPOINT "/bin/sh"
|
||||||
|
|
||||||
|
ADD sayhi.sh /usr/local/bin/sayhi.sh
|
||||||
|
ADD verify verify
|
|
@ -0,0 +1,3 @@
|
||||||
|
FROM python:3.5
|
||||||
|
|
||||||
|
RUN exit 1
|
|
@ -0,0 +1,4 @@
|
||||||
|
Binder Directory
|
||||||
|
----------------
|
||||||
|
|
||||||
|
top-level Dockerfile will be ignored if .binder/Dockerfile exists.
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
echo hi
|
||||||
|
exit 0
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
/usr/local/bin/sayhi.sh
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/bash
|
||||||
|
jupyter nbextension enable --py --sys-prefix ipyleaflet
|
|
@ -0,0 +1 @@
|
||||||
|
ipyleaflet
|
|
@ -0,0 +1,4 @@
|
||||||
|
Binder Directory
|
||||||
|
----------------
|
||||||
|
|
||||||
|
top-level environment.yml will be ignored if .binder/requiremets.txt exists.
|
|
@ -0,0 +1,3 @@
|
||||||
|
dependencies:
|
||||||
|
- thiswontwork
|
||||||
|
invalid
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/bash
|
||||||
|
test -z $(pip list | grep scipy)
|
||||||
|
jupyter nbextension list
|
||||||
|
jupyter nbextension list | grep 'jupyter-leaflet' | grep enabled
|
Ładowanie…
Reference in New Issue