We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8131367 commit bfbcb27Copy full SHA for bfbcb27
ai-experiments/cuda-miniconda-pytorch/Dockerfile
@@ -1,11 +1,16 @@
1
# デフォルト CUDA + cuDNN ランタイム(Ubuntu 22.04)
2
ARG BASE_IMAGE=nvidia/cuda:12.9.1-cudnn-runtime-ubuntu22.04
3
+
4
+FROM ${BASE_IMAGE}
5
6
ARG USER_ID=1000
7
ARG USER_NAME=user
8
ARG GROUP_NAME=${USER_NAME}
9
ARG PYTHON_ENV_SCRIPT
-
-FROM ${BASE_IMAGE}
10
+ENV USER_ID=${USER_ID}
11
+ENV USER_NAME=${USER_NAME}
12
+ENV GROUP_NAME=${GROUP_NAME}
13
+ENV PYTHON_ENV_SCRIPT=${PYTHON_ENV_SCRIPT}
14
15
# 基本ツール
16
RUN apt-get update && apt-get install -y \
0 commit comments