Skip to content

Commit a47de7d

Browse files
committed
chore: use parameters instead of hard coded values
1 parent 8f5eef8 commit a47de7d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# syntax=docker/dockerfile:1
22
ARG DEBIAN_FRONTEND=noninteractive
33
ARG PYTHON_VERSION=3.8
4+
5+
FROM python:$PYTHON_VERSION-slim AS base
6+
47
ARG NVARCH=x86_64
58
ARG CUDA=11.8
69
ARG CUDNN_VERSION=8.6.0.163
710
ARG NV_CUDA_CUDART_VERSION=11.8.89-1
811
ARG NV_CUDA_COMPAT_PACKAGE=cuda-compat-11-8
912
ARG TF_TENSORRT_VERSION=8.4.3
1013

11-
FROM python:$PYTHON_VERSION-slim AS base
12-
1314
# NVIDIA: https://gitlab.com/nvidia/container-images/cuda/-/blob/master/dist/11.8.0/ubuntu2204/base/Dockerfile
1415
# specify the version of the CUDA Toolkit to use and the which driver versions are compatible for each brand of GPU.
1516

0 commit comments

Comments
 (0)