Skip to content

💡 [IMPROVEMENT] - pin dependency versions in custom dockerfile #19

@GangGreenTemperTatum

Description

@GangGreenTemperTatum

Implementation PR

NA atm

Reference Issues

ENG-2156

FROM jupyter/scipy-notebook
RUN pip install \
torch \
torchvision \
torchaudio \
catboost \
GPy \
lightgbm \
xgboost \
kornia \
lief \

Summary

hard-pin custom Dockerfile dependencies for a working golden-image to prevent any future releases breaking package management & dependency conflicts

Basic Example

proposed:

FROM jupyter/scipy-notebook:latest

RUN pip install \
    adversarial-robustness-toolbox==1.19.1 \
    catboost==1.2.8 \
    eagerpy==0.30.0 \
    foolbox==3.3.4 \
    GPy==1.13.2 \
    kornia==0.8.1 \
    lief==0.16.5 \
    lightgbm==4.6.0 \
    numpy==1.24.3 \
    plotly==6.0.1 \
    requests==2.31.0 \
    torch==2.7.0 \
    torchaudio==2.7.0 \
    torchvision==0.22.0 \
    xgboost==3.0.0

RUN pip install kornia_rs==0.1.9

Drawbacks

NA

Unresolved questions

NA

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions