Simon Li 2021-07-24 11:09:43 +01:00
rodzic 43891a6f60
commit f8a16d42ef
7 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -29,7 +29,7 @@ can be found on this page (and to the right).
that lets you install any kind of package, that lets you install any kind of package,
including Python, R, and C/C++ packages. including Python, R, and C/C++ packages.
``repo2docker`` does not use your ``environment.yml`` to create and activate a new conda environment. ``repo2docker`` does not use your ``environment.yml`` to create and activate a new conda environment.
Rather, it updates a base conda environment `defined here <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/buildpacks/conda/environment.yml>`_ with the packages listed in your ``environment.yml``. Rather, it updates a base conda environment `defined here <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/buildpacks/conda/environment.yml>`_ with the packages listed in your ``environment.yml``.
This means that the environment will always have the same default name, not the name This means that the environment will always have the same default name, not the name
specified in your ``environment.yml``. specified in your ``environment.yml``.

Wyświetl plik

@ -1,7 +1,7 @@
# Add a new buildpack # Add a new buildpack
A new buildpack is needed when a new language or a new package manager should be A new buildpack is needed when a new language or a new package manager should be
supported. [Existing buildpacks](https://github.com/jupyterhub/repo2docker/tree/master/repo2docker/buildpacks) supported. [Existing buildpacks](https://github.com/jupyterhub/repo2docker/tree/HEAD/repo2docker/buildpacks)
are a good model for how new buildpacks should be structured. are a good model for how new buildpacks should be structured.
See [the Buildpacks page](buildpacks) for more information about the See [the Buildpacks page](buildpacks) for more information about the
structure of a buildpack. structure of a buildpack.

Wyświetl plik

@ -5,7 +5,7 @@ Add a new content provider
Adding a new content provider allows repo2docker to grab repositories from new Adding a new content provider allows repo2docker to grab repositories from new
locations on the internet. To do so, you should take the following steps: locations on the internet. To do so, you should take the following steps:
#. Sub-class the `ContentProvider class <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/contentproviders/base.py#L17>`_. #. Sub-class the `ContentProvider class <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/contentproviders/base.py#L17>`_.
This will give you a skeleton class you can modify to support your new This will give you a skeleton class you can modify to support your new
content provider. content provider.
#. Implement a **detect()** method for the class. This takes an input #. Implement a **detect()** method for the class. This takes an input

Wyświetl plik

@ -52,8 +52,8 @@ To update one of the dependencies shared across all `repo2docker` builds, you
must follow these steps (with more detailed information in the sections below): must follow these steps (with more detailed information in the sections below):
1. Make sure you have [Docker](https://www.docker.com/) running on your computer 1. Make sure you have [Docker](https://www.docker.com/) running on your computer
2. Bump the version numbers of the dependencies you want to update in the `conda` environment ([link](https://github.com/jupyterhub/repo2docker/blob/master/CONTRIBUTING.md#conda-dependencies)) 2. Bump the version numbers of the dependencies you want to update in the `conda` environment ([link](https://github.com/jupyterhub/repo2docker/blob/HEAD/CONTRIBUTING.md#conda-dependencies))
3. Make a pull request with your changes ([link](https://github.com/jupyterhub/repo2docker/blob/master/CONTRIBUTING.md#make-a-pull-request)) 3. Make a pull request with your changes ([link](https://github.com/jupyterhub/repo2docker/blob/HEAD/CONTRIBUTING.md#make-a-pull-request))
See the subsections below for more detailed instructions. See the subsections below for more detailed instructions.

Wyświetl plik

@ -28,7 +28,7 @@ Repo2docker officially supports the following versions of Python
- 2.7 - 2.7
Additional versions may work, as long as the Additional versions may work, as long as the
`base environment <https://github.com/jupyterhub/repo2docker/blob/master/repo2docker/buildpacks/conda/environment.yml>`_ `base environment <https://github.com/jupyterhub/repo2docker/blob/HEAD/repo2docker/buildpacks/conda/environment.yml>`_
can be installed for your version of Python. can be installed for your version of Python.
The most likely source of incompatibility is if one of the packages The most likely source of incompatibility is if one of the packages
in the base environment is not packaged for your Python, in the base environment is not packaged for your Python,

Wyświetl plik

@ -19,7 +19,7 @@ to build images on demand.
Please report `Bugs <https://github.com/jupyterhub/repo2docker/issues>`_, Please report `Bugs <https://github.com/jupyterhub/repo2docker/issues>`_,
`ask questions <https://gitter.im/jupyterhub/binder>`_ or `ask questions <https://gitter.im/jupyterhub/binder>`_ or
`contribute to the project <https://github.com/jupyterhub/repo2docker/blob/master/CONTRIBUTING.md>`_. `contribute to the project <https://github.com/jupyterhub/repo2docker/blob/HEAD/CONTRIBUTING.md>`_.
.. toctree:: .. toctree::
:maxdepth: 2 :maxdepth: 2

Wyświetl plik

@ -19,7 +19,7 @@ The latest version of Docker, ``18.03``, successfully builds repositories from
`binder-examples <https://github.com/binder-examples>`_. `binder-examples <https://github.com/binder-examples>`_.
The `BinderHub <https://binderhub.readthedocs.io/>`_ helm chart uses version The `BinderHub <https://binderhub.readthedocs.io/>`_ helm chart uses version
``17.11.0-ce-dind``. See the ``17.11.0-ce-dind``. See the
`helm chart <https://github.com/jupyterhub/binderhub/blob/master/helm-chart/binderhub/values.yaml#L167>`_ `helm chart <https://github.com/jupyterhub/binderhub/blob/HEAD/helm-chart/binderhub/values.yaml#L167>`_
for more details. for more details.
Optional: Mercurial Optional: Mercurial