kopia lustrzana https://github.com/jupyterhub/repo2docker
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.cipull/909/head
rodzic
5e75258f2f
commit
4eaf096bf9
|
@ -1,21 +1,21 @@
|
||||||
# Change the base image used by Docker
|
# Change the base image used by Docker
|
||||||
|
|
||||||
You may change the base image used in the `Dockerfile` that creates images by repo2docker.
|
You may change the base image used in the `Dockerfile` that creates images by repo2docker.
|
||||||
This is equivalent to changing the `FROM <base_image>` in the Dockerfile.
|
This is equivalent to changing the `FROM <base_image>` in the Dockerfile.
|
||||||
|
|
||||||
To do so, use the `base_image` traitlet when invoking `repo2docker`.
|
To do so, use the `base_image` traitlet when invoking `repo2docker`.
|
||||||
Note that this is not configurable by individual repositories, it is configured when you invoke the `repo2docker` command.
|
Note that this is not configurable by individual repositories, it is configured when you invoke the `repo2docker` command.
|
||||||
|
|
||||||
```{note}
|
```{note}
|
||||||
By default repo2docker builds on top of the `buildpack-deps:bionic` base image, an Ubuntu-based image.
|
By default repo2docker builds on top of the `buildpack-deps:bionic` base image, an Ubuntu-based image.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Requirements for your base image
|
## Requirements for your base image
|
||||||
|
|
||||||
`repo2docker` will only work if a specific set of packages exists in the base image.
|
`repo2docker` will only work if a specific set of packages exists in the base image.
|
||||||
Only images that match the following criteria are supported:
|
Only images that match the following criteria are supported:
|
||||||
|
|
||||||
- Ubuntu based distributions (minimum `18.04`)
|
- Ubuntu based distributions (minimum `18.04`)
|
||||||
- Contains a set of base packages installed with [the `buildpack-deps` image family](https://hub.docker.com/_/buildpack-deps).
|
- Contains a set of base packages installed with [the `buildpack-deps` image family](https://hub.docker.com/_/buildpack-deps).
|
||||||
|
|
||||||
Other images *may* work, but are not officially supported.
|
Other images _may_ work, but are not officially supported.
|
||||||
|
|
Ładowanie…
Reference in New Issue