-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from getwilds/deepLearning_python
adding Dockerfile for Python Deep Learning Libraries
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
# Using a CUDA base image | ||
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="pythonDL" | ||
LABEL org.opencontainers.image.description="Docker image for the use of Deep Learning Python packages in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="1.0" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing Python | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends python3=3.10.6-1~22.04.1 python3-pip=22.0.2+dfsg-1ubuntu0.4 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Installing necessary Python modules | ||
RUN pip install --no-cache-dir numpy==1.26.4 seaborn==0.13.2 matplotlib==3.9.2 pandas==2.2.3 scikit-learn==1.5.2 \ | ||
scipy==1.14.1 optuna==4.0.0 joblib==1.4.2 keras==3.6.0 tensorflow==2.17.0 torch==2.5.0 |
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,22 @@ | ||
|
||
# Using a CUDA base image | ||
FROM nvidia/cuda:11.7.1-cudnn8-devel-ubuntu22.04 | ||
|
||
# Adding labels for the GitHub Container Registry | ||
LABEL org.opencontainers.image.title="pythonDL" | ||
LABEL org.opencontainers.image.description="Docker image for the use of Deep Learning Python packages in FH DaSL's WILDS" | ||
LABEL org.opencontainers.image.version="1.0" | ||
LABEL org.opencontainers.image.authors="[email protected]" | ||
LABEL org.opencontainers.image.url=https://hutchdatascience.org/ | ||
LABEL org.opencontainers.image.documentation=https://getwilds.org/ | ||
LABEL org.opencontainers.image.source=https://github.com/getwilds/wilds-docker-library | ||
LABEL org.opencontainers.image.licenses=MIT | ||
|
||
# Installing Python | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends python3=3.10.6-1~22.04.1 python3-pip=22.0.2+dfsg-1ubuntu0.4 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Installing necessary Python modules | ||
RUN pip install --no-cache-dir numpy==1.26.4 seaborn==0.13.2 matplotlib==3.9.2 pandas==2.2.3 scikit-learn==1.5.2 \ | ||
scipy==1.14.1 optuna==4.0.0 joblib==1.4.2 keras==3.6.0 tensorflow==2.17.0 torch==2.5.0 |