mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 00:08:11 +00:00
2c15e81822
Signed-off-by: Kevin Klues <kklues@nvidia.com>
19 lines
442 B
Makefile
19 lines
442 B
Makefile
# Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
|
|
|
|
DOCKER ?= docker
|
|
MKDIR ?= mkdir
|
|
DIST_DIR ?= $(CURDIR)/dist
|
|
|
|
LIB_NAME := nvidia-container-toolkit
|
|
LIB_VERSION := 1.1.0
|
|
|
|
GOLANG_VERSION := 1.14.2
|
|
GOLANG_PKG_PATH := github.com/NVIDIA/container-toolkit/pkg
|
|
|
|
# By default run all native docker-based targets
|
|
docker-native:
|
|
include $(CURDIR)/docker.mk
|
|
|
|
binary:
|
|
go build -ldflags "-s -w" -o "$(LIB_NAME)" $(GOLANG_PKG_PATH)
|