Skip to content

Commit b2a3f80

Browse files
authored
Merge pull request #46 from chaitanya1731/dockerfile
docker: Added dockerfile comments and removed the readme
2 parents 6c34f3d + 89951fe commit b2a3f80

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

docker/README.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docker/intel-dgpu-driver.Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,23 @@
11
# Copyright (c) 2023 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4+
# Intel Data Center GPU driver components combinations.
45
# ARG CSE_RELEASE=23WW06.5_555_MAIN
56
ARG PMT_RELEASE=23WW06.5_555_MAIN
67
ARG I915_RELEASE=RHEL86_23WW6.5_555_6469.0.3_221221.3
78
ARG FIRMWARE_RELEASE=23WW06.5_555
9+
10+
# Intel Data Center GPU Driver for OpenShift version.
811
ARG DRIVER_VERSION=1.0.0
12+
13+
# RHCOS Kernel version supported by the above driver version.
914
ARG KERNEL_VERSION
1015
ARG KERNEL_FULL_VERSION=${KERNEL_VERSION}
16+
17+
# Red Hat DTK image is used as builder image to build kernel driver modules.
18+
# Appropriate DTK image is provided with the OCP release, to guarantee compatibility
19+
# between the built kernel modules and the OCP version's RHCOS kernel.
20+
# DTK_AUTO is populated automatically with the appropriate DTK image by KMM operator.
1121
ARG DTK_AUTO
1222

1323
FROM ${DTK_AUTO} as builder
@@ -50,6 +60,7 @@ RUN git clone -b ${FIRMWARE_RELEASE} --single-branch https://github.com/intel-gp
5060
&& install -D /build/intel-gpu-firmware/COPYRIGHT /build/firmware/license/COPYRIGHT \
5161
&& install -D /build/intel-gpu-firmware/firmware/dg2* /build/firmware/
5262

63+
# Packaging Intel GPU driver components in the base UBI image for certification
5364
FROM registry.redhat.io/ubi8/ubi-minimal:latest
5465
ARG DRIVER_VERSION
5566
ARG KERNEL_FULL_VERSION
@@ -58,6 +69,7 @@ ARG PMT_RELEASE
5869
ARG I915_RELEASE
5970
ARG FIRMWARE_RELEASE
6071

72+
# Required labels for the image metadata
6173
LABEL vendor="Intel®"
6274
LABEL version="${DRIVER_VERSION}"
6375
LABEL release="${KERNEL_FULL_VERSION}"

0 commit comments

Comments
 (0)