-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
60 additions
and
57 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 |
---|---|---|
|
@@ -7,9 +7,9 @@ MAINTAINER [email protected] | |
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV CUDA_PACKAGE_VERSION 11-0 | ||
ENV CUDA_FILESYS_VERSION 11.0 | ||
ENV NVIDIA_VERSION 455 | ||
ENV CUDA_PACKAGE_VERSION 11-2 | ||
ENV CUDA_FILESYS_VERSION 11.2 | ||
ENV NVIDIA_VERSION 465 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y locales && \ | ||
|
@@ -24,13 +24,18 @@ RUN apt-get update && \ | |
RUN mkdir /usr/lib/nvidia && \ | ||
cd /tmp && \ | ||
apt-get install -y freeglut3 freeglut3-dev libxi-dev libxmu-dev && \ | ||
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/7fa2af80.pub && \ | ||
wget -q -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin && \ | ||
wget -q -O /tmp/cuda.deb http://developer.download.nvidia.com/compute/cuda/11.0.2/local_installers/cuda-repo-ubuntu1804-11-0-local_11.0.2-450.51.05-1_amd64.deb && \ | ||
apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/7fa2af80.pub && \ | ||
wget -q -O /etc/apt/preferences.d/cuda-repository-pin-600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-ubuntu2004.pin && \ | ||
wget -q -O /tmp/cuda.deb https://developer.download.nvidia.com/compute/cuda/11.2.2/local_installers/cuda-repo-ubuntu2004-11-2-local_11.2.2-460.32.03-1_amd64.deb && \ | ||
dpkg -i /tmp/cuda.deb && \ | ||
apt-get -y update | ||
|
||
RUN apt-get -y install --no-install-recommends nvidia-cuda-dev && \ | ||
RUN \ | ||
apt list nvidia-\* &&\ | ||
apt list cuda-\* &&\ | ||
apt-get -y install --no-install-recommends cuda-command-line-tools-${CUDA_PACKAGE_VERSION} && \ | ||
apt-get -y install --no-install-recommends cuda-libraries-${CUDA_PACKAGE_VERSION} && \ | ||
apt-get -y install --no-install-recommends cuda-libraries-dev-${CUDA_PACKAGE_VERSION} && \ | ||
apt-get -y install --no-install-recommends cuda-nvml-dev-${CUDA_PACKAGE_VERSION} && \ | ||
apt-get clean | ||
|
||
|
@@ -40,7 +45,6 @@ RUN \ | |
ln -s /usr/local/cuda/targets/x86_64-linux/include /usr/local/cuda/include && \ | ||
ln -s /usr/lib/nvidia-${NVIDIA_VERSION}/libnvidia-ml.so /usr/lib/nvidia/libnvidia-ml.so && \ | ||
ln -s /usr/lib/nvidia-${NVIDIA_VERSION}/libnvidia-ml.so.1 /usr/lib/nvidia/libnvidia-ml.so.1 && \ | ||
ln -s /usr/lib/nvidia-${NVIDIA_VERSION}/libnvidia-ml.so.${NVIDIA_VERSION}.45.01 /usr/lib/nvidia/libnvidia-ml.so.${NVIDIA_VERSION}.45.01 && \ | ||
apt-get -y install --no-install-recommends libcuinj64-10.1 && \ | ||
rm /tmp/cuda*.deb && \ | ||
apt-get -y autoclean && \ | ||
|
@@ -51,8 +55,8 @@ RUN \ | |
|
||
RUN \ | ||
rm -rf /var/lib/apt/lists/* && \ | ||
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/cuda.list && \ | ||
echo "deb https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list && \ | ||
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64 /" > /etc/apt/sources.list.d/cuda.list && \ | ||
echo "deb https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64 /" > /etc/apt/sources.list.d/nvidia-ml.list && \ | ||
apt-get update | ||
|
||
RUN apt-get install -y --no-install-recommends \ | ||
|
@@ -85,6 +89,6 @@ RUN wget ${PROTOBUF_URL} && \ | |
chmod -R +r /usr/include/google | ||
|
||
LABEL vendor="Cognizant, Evolutionary AI, DB&T" \ | ||
registry.version=0.0.8 \ | ||
registry.version=0.0.9 \ | ||
registry.repo=leafai/studio-go-runner-dev-base \ | ||
registry.base=studio-go-runner-dev-base |
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# Copyright 2018-2021 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. | ||
# | ||
FROM leafai/studio-go-runner-dev-base:0.0.8 | ||
FROM leafai/studio-go-runner-dev-base:0.0.9 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV CUDA_PACKAGE_VERSION 11-0 | ||
ENV CUDA_FILESYS_VERSION 11.0 | ||
ENV NVIDIA_VERSION 455 | ||
ENV CUDA_PACKAGE_VERSION 11-2-2 | ||
ENV CUDA_FILESYS_VERSION 11.2.2 | ||
ENV NVIDIA_VERSION 465 | ||
|
||
ENV USER {{.duat.userName}} | ||
ENV USER_ID {{.duat.userID}} | ||
|
@@ -50,7 +50,7 @@ RUN \ | |
python3 get-pip.py pip==20.1 setuptools==44.0.0 wheel==0.33.6 && \ | ||
pip3 install pyopenssl cryptography --upgrade | ||
|
||
ENV GO_VERSION 1.16.4 | ||
ENV GO_VERSION 1.16.5 | ||
|
||
RUN \ | ||
cd /home/${USER} && \ | ||
|
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright 2018-2021 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. | ||
# | ||
FROM registry.container-registry.svc.cluster.local:5000/leafai/studio-go-runner-dev-stack:0.0.2 | ||
FROM registry.container-registry.svc.cluster.local:5000/leafai/studio-go-runner-dev-stack:0.0.3 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV GO_VERSION 1.16.4 | ||
ENV GO_VERSION 1.16.5 | ||
|
||
RUN \ | ||
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ | ||
|
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 |
---|---|---|
@@ -1,20 +1,20 @@ | ||
# Copyright 2018-2021 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. | ||
# | ||
FROM leafai/studio-go-runner-dev-base:0.0.8 | ||
|
||
FROM leafai/studio-go-runner-dev-base:0.0.9 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV CUDA_PACKAGE_VERSION 11-0 | ||
ENV CUDA_FILESYS_VERSION 11.0 | ||
ENV NVIDIA_VERSION 455 | ||
ENV CUDA_PACKAGE_VERSION 11-2 | ||
ENV CUDA_FILESYS_VERSION 11.2 | ||
ENV NVIDIA_VERSION 465 | ||
|
||
# nvidia-container-runtime | ||
ENV NVIDIA_VISIBLE_DEVICES all | ||
ENV NVIDIA_DRIVER_CAPABILITIES compute,utility | ||
ENV NVIDIA_REQUIRE_CUDA "cuda>=11.0" | ||
ENV NVIDIA_REQUIRE_CUDA "cuda>=11.2" | ||
|
||
# Pick up some TF dependencies | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
|
@@ -31,9 +31,9 @@ RUN \ | |
curl https://pyenv.run | /bin/bash && \ | ||
export PATH=$HOME/.pyenv/bin:$PATH && \ | ||
echo "export PATH=\"$HOME/.pyenv/bin:$PATH\"" >> $HOME/.bashrc && \ | ||
echo "eval \"\$(pyenv init -)\"" >> $HOME/.bashrc && \ | ||
echo "eval \"\$(pyenv init --path)\"" >> $HOME/.bashrc && \ | ||
echo "eval \"\$(pyenv virtualenv-init -)\"" >> $HOME/.bashrc && \ | ||
eval "$(pyenv init -)" && \ | ||
eval "$(pyenv init --path)" && \ | ||
eval "$(pyenv virtualenv-init -)" && \ | ||
pyenv install --list | grep " 3\.[56789]" && \ | ||
pyenv install 3.9.5 && \ | ||
|
@@ -46,22 +46,23 @@ RUN \ | |
ENV PATH /root/.pyenv/bin:$PATH | ||
|
||
RUN \ | ||
eval "$(pyenv init -)" && \ | ||
eval "$(pyenv init --path)" && \ | ||
eval "$(pyenv virtualenv-init -)" && \ | ||
which python3 && \ | ||
which pip3 && \ | ||
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py && \ | ||
python3 get-pip.py pip==20.1 setuptools==44.0.0 wheel==0.33.6 && \ | ||
python3 get-pip.py pip==21.1.2 setuptools==44.0.0 wheel==0.33.6 && \ | ||
pip3 install pyopenssl cryptography --upgrade | ||
|
||
RUN apt-get -y install libssl-dev libcurl4-openssl-dev libsm6 libxrender-dev libxext-dev libopenblas-base libopenblas-dev && \ | ||
eval "$(pyenv init -)" && \ | ||
eval "$(pyenv init --path)" && \ | ||
eval "$(pyenv virtualenv-init -)" && \ | ||
python3 -m pip install tensorflow-gpu==2.3.0 && \ | ||
python3 -m pip install tensorflow-gpu==2.4.0 && \ | ||
python3 -m pip install tensorflow-gpu==2.5.0 && \ | ||
apt-get clean | ||
|
||
LABEL vendor="Cognizant, Evolutionary AI, DB&T" \ | ||
registry.version=0.0.2 \ | ||
registry.version=0.0.3 \ | ||
registry.repo=leafai/studio-go-runner-dev-stack \ | ||
registry.base=studio-go-runner-dev-stack |
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright 2018-2021 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. | ||
# | ||
FROM leafai/studio-go-runner-dev-stack:0.0.2 | ||
FROM leafai/studio-go-runner-dev-stack:0.0.3 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV GO_VERSION 1.16.4 | ||
ENV GO_VERSION 1.16.5 | ||
|
||
RUN \ | ||
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - && \ | ||
|
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 |
---|---|---|
@@ -1,13 +1,13 @@ | ||
# Copyright 2018-2021 (c) Cognizant Digital Business, Evolutionary AI. All rights reserved. Issued under the Apache 2.0 License. | ||
# | ||
FROM leafai/studio-go-runner-dev-stack:0.0.2 | ||
FROM leafai/studio-go-runner-dev-stack:0.0.3 | ||
|
||
MAINTAINER [email protected] | ||
|
||
ENV LANG C.UTF-8 | ||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
ENV GO_VERSION 1.16.4 | ||
ENV GO_VERSION 1.16.5 | ||
|
||
RUN \ | ||
mkdir -p /project/go && \ | ||
|
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
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
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