File tree Expand file tree Collapse file tree 13 files changed +71
-71
lines changed
codeserver/ubi9-python-3.12
pytorch+llmcompressor/ubi9-python-3.12
rocm/pytorch/ubi9-python-3.12
tensorflow/ubi9-python-3.12
trustyai/ubi9-python-3.12
pytorch+llmcompressor/ubi9-python-3.12
rocm-pytorch/ubi9-python-3.12
rocm-tensorflow/ubi9-python-3.12
tensorflow/ubi9-python-3.12 Expand file tree Collapse file tree 13 files changed +71
-71
lines changed Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ WORKDIR /opt/app-root/bin
49
49
RUN dnf install -y jq git-lfs libsndfile && dnf clean all && rm -rf /var/cache/yum
50
50
51
51
# Install code-server
52
- RUN yum install -y "https://github.com/coder/code-server/releases/download/${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION/v/}-${TARGETARCH}.rpm" && \
53
- yum -y clean all --enablerepo='*'
52
+ RUN dnf install -y "https://github.com/coder/code-server/releases/download/${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION/v/}-${TARGETARCH}.rpm" && \
53
+ dnf -y clean all --enablerepo='*'
54
54
55
55
COPY --chown=1001:0 ${CODESERVER_SOURCE_CODE}/utils utils/
56
56
@@ -71,11 +71,11 @@ ENV NGINX_VERSION=1.24 \
71
71
NGINX_PERL_MODULE_PATH=${APP_ROOT}/etc/perl
72
72
73
73
# Modules does not exist
74
- RUN yum install -y https://download.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
74
+ RUN dnf install -y https://download.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
75
75
INSTALL_PKGS="bind-utils nginx nginx-mod-stream nginx-mod-http-perl fcgiwrap initscripts chkconfig supervisor" && \
76
- yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
76
+ dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
77
77
rpm -V $INSTALL_PKGS && \
78
- yum -y clean all --enablerepo='*'
78
+ dnf -y clean all --enablerepo='*'
79
79
80
80
COPY --chown=1001:0 ${CODESERVER_SOURCE_CODE}/supervisord/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
81
81
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
63
63
ENV CUDA_VERSION=12.6.3
64
64
65
65
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
66
- RUN yum upgrade -y && yum install -y \
66
+ RUN dnf upgrade -y && dnf install -y \
67
67
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
68
68
cuda-compat-12-6 \
69
- && yum clean all \
69
+ && dnf clean all \
70
70
&& rm -rf /var/cache/yum/*
71
71
72
72
# nvidia-docker 1.0
@@ -93,21 +93,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
93
93
ENV NCCL_VERSION=2.23.4
94
94
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
95
95
96
- RUN yum install -y \
96
+ RUN dnf install -y \
97
97
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
98
98
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
99
99
${NV_LIBNPP_PACKAGE} \
100
100
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
101
101
${NV_LIBNCCL_PACKAGE} \
102
- && yum clean all \
102
+ && dnf clean all \
103
103
&& rm -rf /var/cache/yum/*
104
104
105
105
# Install devel tools
106
106
107
- RUN yum install -y \
107
+ RUN dnf install -y \
108
108
make \
109
109
findutils \
110
- && yum clean all \
110
+ && dnf clean all \
111
111
&& rm -rf /var/cache/yum/*
112
112
113
113
# Install CUDA cudnn9 from:
@@ -117,9 +117,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
117
117
118
118
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
${NV_CUDNN_PACKAGE} \
122
- && yum clean all \
122
+ && dnf clean all \
123
123
&& rm -rf /var/cache/yum/*
124
124
125
125
# Set this flag so that libraries can find the location of CUDA
Original file line number Diff line number Diff line change @@ -57,8 +57,8 @@ RUN echo "[ROCm]" > /etc/yum.repos.d/rocm.repo && \
57
57
echo "baseurl=https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/rhel/9.4/main/x86_64" >> /etc/yum.repos.d/amdgpu.repo && \
58
58
echo "enabled=1" >> /etc/yum.repos.d/amdgpu.repo && \
59
59
echo "gpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo && \
60
- yum install -y rocm-developer-tools rocm-ml-sdk rocm-opencl-sdk rocm-openmp-sdk rocm-utils && \
61
- yum clean all && rm -rf /var/cache/yum
60
+ dnf install -y rocm-developer-tools rocm-ml-sdk rocm-opencl-sdk rocm-openmp-sdk rocm-utils && \
61
+ dnf clean all && rm -rf /var/cache/yum
62
62
63
63
# Restore notebook user workspace
64
64
USER 1001
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
76
76
ENV CUDA_VERSION=12.6.3
77
77
78
78
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
79
- RUN yum upgrade -y && yum install -y \
79
+ RUN dnf upgrade -y && dnf install -y \
80
80
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
81
81
cuda-compat-12-6 \
82
- && yum clean all \
82
+ && dnf clean all \
83
83
&& rm -rf /var/cache/yum/*
84
84
85
85
# nvidia-docker 1.0
@@ -106,21 +106,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
106
106
ENV NCCL_VERSION=2.23.4
107
107
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
108
108
109
- RUN yum install -y \
109
+ RUN dnf install -y \
110
110
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
111
111
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
112
112
${NV_LIBNPP_PACKAGE} \
113
113
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
114
114
${NV_LIBNCCL_PACKAGE} \
115
- && yum clean all \
115
+ && dnf clean all \
116
116
&& rm -rf /var/cache/yum/*
117
117
118
118
# Install devel tools
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
make \
122
122
findutils \
123
- && yum clean all \
123
+ && dnf clean all \
124
124
&& rm -rf /var/cache/yum/*
125
125
126
126
# Install CUDA cudnn9 from:
@@ -130,9 +130,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
130
130
131
131
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
132
132
133
- RUN yum install -y \
133
+ RUN dnf install -y \
134
134
${NV_CUDNN_PACKAGE} \
135
- && yum clean all \
135
+ && dnf clean all \
136
136
&& rm -rf /var/cache/yum/*
137
137
138
138
# Set this flag so that libraries can find the location of CUDA
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
76
76
ENV CUDA_VERSION=12.6.3
77
77
78
78
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
79
- RUN yum upgrade -y && yum install -y \
79
+ RUN dnf upgrade -y && dnf install -y \
80
80
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
81
81
cuda-compat-12-6 \
82
- && yum clean all \
82
+ && dnf clean all \
83
83
&& rm -rf /var/cache/yum/*
84
84
85
85
# nvidia-docker 1.0
@@ -106,21 +106,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
106
106
ENV NCCL_VERSION=2.23.4
107
107
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
108
108
109
- RUN yum install -y \
109
+ RUN dnf install -y \
110
110
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
111
111
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
112
112
${NV_LIBNPP_PACKAGE} \
113
113
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
114
114
${NV_LIBNCCL_PACKAGE} \
115
- && yum clean all \
115
+ && dnf clean all \
116
116
&& rm -rf /var/cache/yum/*
117
117
118
118
# Install devel tools
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
make \
122
122
findutils \
123
- && yum clean all \
123
+ && dnf clean all \
124
124
&& rm -rf /var/cache/yum/*
125
125
126
126
# Install CUDA cudnn9 from:
@@ -130,9 +130,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
130
130
131
131
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
132
132
133
- RUN yum install -y \
133
+ RUN dnf install -y \
134
134
${NV_CUDNN_PACKAGE} \
135
- && yum clean all \
135
+ && dnf clean all \
136
136
&& rm -rf /var/cache/yum/*
137
137
138
138
# Set this flag so that libraries can find the location of CUDA
Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ RUN echo "[ROCm]" > /etc/yum.repos.d/rocm.repo && \
70
70
echo "baseurl=https://repo.radeon.com/amdgpu/$AMDGPU_VERSION/rhel/9.4/main/x86_64" >> /etc/yum.repos.d/amdgpu.repo && \
71
71
echo "enabled=1" >> /etc/yum.repos.d/amdgpu.repo && \
72
72
echo "gpgcheck=0" >> /etc/yum.repos.d/amdgpu.repo && \
73
- yum install -y rocm-developer-tools rocm-ml-sdk rocm-opencl-sdk rocm-openmp-sdk rocm-utils && \
74
- yum clean all && rm -rf /var/cache/yum
73
+ dnf install -y rocm-developer-tools rocm-ml-sdk rocm-opencl-sdk rocm-openmp-sdk rocm-utils && \
74
+ dnf clean all && rm -rf /var/cache/yum
75
75
76
76
# Restore notebook user workspace
77
77
USER 1001
Original file line number Diff line number Diff line change @@ -76,10 +76,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
76
76
ENV CUDA_VERSION=12.6.3
77
77
78
78
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
79
- RUN yum upgrade -y && yum install -y \
79
+ RUN dnf upgrade -y && dnf install -y \
80
80
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
81
81
cuda-compat-12-6 \
82
- && yum clean all \
82
+ && dnf clean all \
83
83
&& rm -rf /var/cache/yum/*
84
84
85
85
# nvidia-docker 1.0
@@ -106,21 +106,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
106
106
ENV NCCL_VERSION=2.23.4
107
107
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
108
108
109
- RUN yum install -y \
109
+ RUN dnf install -y \
110
110
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
111
111
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
112
112
${NV_LIBNPP_PACKAGE} \
113
113
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
114
114
${NV_LIBNCCL_PACKAGE} \
115
- && yum clean all \
115
+ && dnf clean all \
116
116
&& rm -rf /var/cache/yum/*
117
117
118
118
# Install devel tools
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
make \
122
122
findutils \
123
- && yum clean all \
123
+ && dnf clean all \
124
124
&& rm -rf /var/cache/yum/*
125
125
126
126
# Install CUDA cudnn9 from:
@@ -130,9 +130,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
130
130
131
131
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
132
132
133
- RUN yum install -y \
133
+ RUN dnf install -y \
134
134
${NV_CUDNN_PACKAGE} \
135
- && yum clean all \
135
+ && dnf clean all \
136
136
&& rm -rf /var/cache/yum/*
137
137
138
138
# Set this flag so that libraries can find the location of CUDA
Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ USER 0
115
115
116
116
# Install jre that is needed to run the trustyai library
117
117
RUN INSTALL_PKGS="java-17-openjdk" && \
118
- yum install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
119
- yum -y clean all --enablerepo='*'
118
+ dnf install -y --setopt=tsflags=nodocs $INSTALL_PKGS && \
119
+ dnf -y clean all --enablerepo='*'
120
120
121
121
USER 1001
122
122
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
63
63
ENV CUDA_VERSION=12.6.3
64
64
65
65
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
66
- RUN yum upgrade -y && yum install -y \
66
+ RUN dnf upgrade -y && dnf install -y \
67
67
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
68
68
cuda-compat-12-6 \
69
- && yum clean all \
69
+ && dnf clean all \
70
70
&& rm -rf /var/cache/yum/*
71
71
72
72
# nvidia-docker 1.0
@@ -93,21 +93,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
93
93
ENV NCCL_VERSION=2.23.4
94
94
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
95
95
96
- RUN yum install -y \
96
+ RUN dnf install -y \
97
97
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
98
98
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
99
99
${NV_LIBNPP_PACKAGE} \
100
100
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
101
101
${NV_LIBNCCL_PACKAGE} \
102
- && yum clean all \
102
+ && dnf clean all \
103
103
&& rm -rf /var/cache/yum/*
104
104
105
105
# Install devel tools
106
106
107
- RUN yum install -y \
107
+ RUN dnf install -y \
108
108
make \
109
109
findutils \
110
- && yum clean all \
110
+ && dnf clean all \
111
111
&& rm -rf /var/cache/yum/*
112
112
113
113
# Install CUDA cudnn9 from:
@@ -117,9 +117,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
117
117
118
118
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
${NV_CUDNN_PACKAGE} \
122
- && yum clean all \
122
+ && dnf clean all \
123
123
&& rm -rf /var/cache/yum/*
124
124
125
125
# Set this flag so that libraries can find the location of CUDA
Original file line number Diff line number Diff line change @@ -63,10 +63,10 @@ RUN NVIDIA_GPGKEY_SUM=d0664fbbdb8c32356d45de36c5984617217b2d0bef41b93ccecd326ba3
63
63
ENV CUDA_VERSION=12.6.3
64
64
65
65
# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
66
- RUN yum upgrade -y && yum install -y \
66
+ RUN dnf upgrade -y && dnf install -y \
67
67
cuda-cudart-12-6-${NV_CUDA_CUDART_VERSION} \
68
68
cuda-compat-12-6 \
69
- && yum clean all \
69
+ && dnf clean all \
70
70
&& rm -rf /var/cache/yum/*
71
71
72
72
# nvidia-docker 1.0
@@ -93,21 +93,21 @@ ENV NV_LIBNCCL_VERSION=2.23.4
93
93
ENV NCCL_VERSION=2.23.4
94
94
ENV NV_LIBNCCL_PACKAGE=${NV_LIBNCCL_PACKAGE_NAME}-${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.6
95
95
96
- RUN yum install -y \
96
+ RUN dnf install -y \
97
97
cuda-libraries-12-6-${NV_CUDA_LIB_VERSION} \
98
98
cuda-nvtx-12-6-${NV_NVTX_VERSION} \
99
99
${NV_LIBNPP_PACKAGE} \
100
100
libcublas-12-6-${NV_LIBCUBLAS_VERSION} \
101
101
${NV_LIBNCCL_PACKAGE} \
102
- && yum clean all \
102
+ && dnf clean all \
103
103
&& rm -rf /var/cache/yum/*
104
104
105
105
# Install devel tools
106
106
107
- RUN yum install -y \
107
+ RUN dnf install -y \
108
108
make \
109
109
findutils \
110
- && yum clean all \
110
+ && dnf clean all \
111
111
&& rm -rf /var/cache/yum/*
112
112
113
113
# Install CUDA cudnn9 from:
@@ -117,9 +117,9 @@ ENV NV_CUDNN_PACKAGE=libcudnn9-cuda-12-${NV_CUDNN_VERSION}
117
117
118
118
LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"
119
119
120
- RUN yum install -y \
120
+ RUN dnf install -y \
121
121
${NV_CUDNN_PACKAGE} \
122
- && yum clean all \
122
+ && dnf clean all \
123
123
&& rm -rf /var/cache/yum/*
124
124
125
125
# Set this flag so that libraries can find the location of CUDA
You can’t perform that action at this time.
0 commit comments