-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extra image for AI with elyra and other components (#200)
* Extra image for AI with elyra * More components to the extra AI image
- Loading branch information
Showing
3 changed files
with
34 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
ARG BASE_IMAGE=eginotebooks/base:latest | ||
# hadolint ignore=DL3006 | ||
FROM $BASE_IMAGE | ||
|
||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
RUN mamba install -y --quiet \ | ||
tensorflow \ | ||
&& conda clean --all | ||
|
||
# See https://github.com/mamba-org/mamba/issues/336 | ||
# pytorch is not installing properly with mamba | ||
RUN mamba install -y pytorch torchvision torchaudio cpuonly -c pytorch -c anaconda -c conda-forge \ | ||
&& mamba install -y --quiet fastai -c fastai \ | ||
&& conda clean --all | ||
|
||
# packages not in conda | ||
RUN pip install --no-cache-dir \ | ||
tflearn | ||
|
||
# not installable from mamba for now | ||
RUN pip install --no-cache-dir \ | ||
eo-learn | ||
|
||
# not installable from mamba for now | ||
RUN pip install --no-cache-dir \ | ||
elyra | ||
|
||
RUN jupyter lab build | ||
|
||
RUN rmdir work |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,21 +35,6 @@ RUN mamba install -y --quiet \ | |
jupyter-resource-usage \ | ||
&& conda clean --all | ||
|
||
# not installable from mamba for now | ||
RUN pip install --no-cache-dir \ | ||
eo-learn | ||
|
||
# not installable from mamba for now | ||
# XXX: problem with dependency: pydantic | ||
RUN pip install --no-cache-dir \ | ||
elyra | ||
|
||
# See https://github.com/mamba-org/mamba/issues/336 | ||
# pytorch is not installing properly with mamba | ||
RUN mamba install -y pytorch torchvision torchaudio cpuonly -c pytorch -c anaconda -c conda-forge \ | ||
&& mamba install -y --quiet fastai -c fastai \ | ||
&& conda clean --all | ||
|
||
# Octave, install on a different environment | ||
# Octave from conda won't build packages | ||
# see https://discourse.jupyter.org/t/installing-octave-packages-with-binder/4206 | ||
|
@@ -97,8 +82,7 @@ RUN pip install --no-cache-dir \ | |
git+https://github.com/EGI-Foundation/[email protected] \ | ||
h5glance \ | ||
nbtop \ | ||
panel \ | ||
tflearn | ||
panel | ||
|
||
# EMSO | ||
# python3.7, install on a different environment | ||
|