Skip to content

Commit

Permalink
More components to the extra AI image
Browse files Browse the repository at this point in the history
  • Loading branch information
valtri committed Aug 2, 2024
1 parent b065d59 commit 18a35c5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
18 changes: 18 additions & 0 deletions single-user-ai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,24 @@ 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
Expand Down
13 changes: 1 addition & 12 deletions single-user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +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

# 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
Expand Down Expand Up @@ -92,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
Expand Down

0 comments on commit 18a35c5

Please sign in to comment.