mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
e8d555f155
This change allows for docker buildx to be used to build container images. This also allows multi-arch images being built. In addition to using docker buildx to build images, regctl as a replacement for the docker push command to release images. This tool also supports regctl. The selection of docker buildx (and regctl) is controlled by a BUILD_MULTI_ARCH_IMAGES make variable. If this is 'true', the build-% make targets for the toolkit container will be run through buildx and the equivalent push-% targets will trigger a regctl command. Signed-off-by: Evan Lezar <elezar@nvidia.com>
29 lines
1.1 KiB
Makefile
29 lines
1.1 KiB
Makefile
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
LIB_NAME := nvidia-container-toolkit
|
|
LIB_VERSION := 1.9.0
|
|
LIB_TAG := rc.1
|
|
|
|
# Specify the nvidia-docker2 and nvidia-container-runtime package versions.
|
|
# Note: The tag is automatically specified to match LIB_TAG.
|
|
NVIDIA_DOCKER_VERSION := 2.10.0
|
|
NVIDIA_CONTAINER_RUNTIME_VERSION := 3.9.0
|
|
|
|
# Specify the expected libnvidia-container0 version for arm64-based ubuntu builds.
|
|
LIBNVIDIA_CONTAINER0_VERSION := 0.10.0+jetpack
|
|
|
|
CUDA_VERSION := 11.6.0
|
|
GOLANG_VERSION := 1.16.4
|