Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
lukaCoding
nvidia-container-runtime
提交
1c0e6983
N
nvidia-container-runtime
项目概览
lukaCoding
/
nvidia-container-runtime
与 Fork 源项目一致
从无法访问的项目Fork
通知
4
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
nvidia-container-runtime
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
1c0e6983
编写于
3月 06, 2018
作者:
F
Felix Abecassis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Refactor Makefiles
上级
e674031d
变更
20
隐藏空白更改
内联
并排
Showing
20 changed file
with
146 addition
and
201 deletion
+146
-201
Makefile
Makefile
+11
-11
base/Dockerfile.amzn
base/Dockerfile.amzn
+2
-1
base/Dockerfile.centos
base/Dockerfile.centos
+2
-1
base/Dockerfile.debian
base/Dockerfile.debian
+2
-1
base/Dockerfile.ubuntu
base/Dockerfile.ubuntu
+2
-1
base/Makefile
base/Makefile
+20
-4
hook/Dockerfile.amzn
hook/Dockerfile.amzn
+3
-2
hook/Dockerfile.centos
hook/Dockerfile.centos
+3
-2
hook/Dockerfile.debian
hook/Dockerfile.debian
+3
-2
hook/Dockerfile.ubuntu
hook/Dockerfile.ubuntu
+3
-2
hook/Makefile
hook/Makefile
+27
-5
hook/config.toml.amzn
hook/config.toml.amzn
+0
-0
hook/config.toml.centos
hook/config.toml.centos
+0
-0
hook/config.toml.debian
hook/config.toml.debian
+11
-0
hook/config.toml.ubuntu
hook/config.toml.ubuntu
+0
-0
runtime/Dockerfile.amzn
runtime/Dockerfile.amzn
+2
-1
runtime/Dockerfile.centos
runtime/Dockerfile.centos
+2
-1
runtime/Dockerfile.debian
runtime/Dockerfile.debian
+2
-1
runtime/Dockerfile.ubuntu
runtime/Dockerfile.ubuntu
+2
-1
runtime/Makefile
runtime/Makefile
+49
-165
未找到文件。
Makefile
浏览文件 @
1c0e6983
...
...
@@ -2,32 +2,32 @@
.PHONY
:
all
all
:
xenial centos7 stretch
amzn1
all
:
ubuntu16.04 debian9 centos7
amzn1
# Build all packages for a specific distribution.
xenial
:
runtime-xenial hook-xenial
ubuntu16.04
:
runtime-ubuntu16.04 hook-ubuntu16.04
centos7
:
runtime-centos7 hook-centos7
debian9
:
runtime-debian9 hook-debian9
stretch
:
runtime-stretch hook-stretch
centos7
:
runtime-centos7 hook-centos7
amzn1
:
runtime-amzn1 hook-amzn1
base-%
:
$(CURDIR)/base/Dockerfile.%
base-%
:
make
-C
$(CURDIR)
/base
$*
hook-%
:
base-%
$(CURDIR)/hook/Dockerfile.%
hook-%
:
base-%
make
-C
$(CURDIR)
/hook
$*
runtime-%
:
base-%
$(CURDIR)/runtime/Dockerfile.%
runtime-%
:
base-%
make
-C
$(CURDIR)
/runtime
$*
# Build nvidia-container-runtime for specific versions of docker.
%-runtime-
xenial
:
base-xenial
make
-C
$(CURDIR)
/runtime
$*
-
xenial
%-runtime-
ubuntu16.04
:
base-ubuntu16.04
make
-C
$(CURDIR)
/runtime
$*
-
ubuntu16
.04
%-runtime-
stretch
:
base-stretch
make
-C
$(CURDIR)
/runtime
$*
-
stretch
%-runtime-
debian9
:
base-debian9
make
-C
$(CURDIR)
/runtime
$*
-
debian9
%-runtime-centos7
:
base-centos7
make
-C
$(CURDIR)
/runtime
$*
-centos7
...
...
base/Dockerfile.
centos7
→
base/Dockerfile.
amzn
浏览文件 @
1c0e6983
FROM centos:7
ARG VERSION_ID
FROM amazonlinux:${VERSION_ID}
RUN yum install -y \
ca-certificates \
...
...
base/Dockerfile.
amzn1
→
base/Dockerfile.
centos
浏览文件 @
1c0e6983
FROM amazonlinux:1
ARG VERSION_ID
FROM centos:${VERSION_ID}
RUN yum install -y \
ca-certificates \
...
...
base/Dockerfile.
stretch
→
base/Dockerfile.
debian
浏览文件 @
1c0e6983
FROM debian:stretch
ARG VERSION_ID
FROM debian:${VERSION_ID}
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
...
...
base/Dockerfile.
xenial
→
base/Dockerfile.
ubuntu
浏览文件 @
1c0e6983
FROM ubuntu:xenial
ARG VERSION_ID
FROM ubuntu:${VERSION_ID}
RUN apt-get update && apt-get install -y --no-install-recommends \
wget \
...
...
base/Makefile
浏览文件 @
1c0e6983
...
...
@@ -7,8 +7,24 @@ GOLANG_VERSION := 1.9.4
.NOTPARALLEL
:
.PHONY
:
all
all
:
xenial centos7 stretch
all
:
ubuntu16.04 debian9 centos7 amzn1
%
:
$(CURDIR)/Dockerfile.%
$(DOCKER)
build
--build-arg
GOLANG_VERSION
=
"
$(GOLANG_VERSION)
"
\
-t
nvidia/build-base:
$@
-f
Dockerfile.
$@
.
ubuntu%
:
$(CURDIR)/Dockerfile.ubuntu
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
GOLANG_VERSION
=
"
$(GOLANG_VERSION)
"
\
-t
"nvidia/base/ubuntu:
$*
"
-f
Dockerfile.ubuntu .
debian%
:
$(CURDIR)/Dockerfile.debian
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
GOLANG_VERSION
=
"
$(GOLANG_VERSION)
"
\
-t
"nvidia/base/debian:
$*
"
-f
Dockerfile.debian .
centos%
:
$(CURDIR)/Dockerfile.centos
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
GOLANG_VERSION
=
"
$(GOLANG_VERSION)
"
\
-t
"nvidia/base/centos:
$*
"
-f
Dockerfile.centos .
amzn%
:
$(CURDIR)/Dockerfile.amzn
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
GOLANG_VERSION
=
"
$(GOLANG_VERSION)
"
\
-t
"nvidia/base/amzn:
$*
"
-f
Dockerfile.amzn .
hook/Dockerfile.amzn
1
→
hook/Dockerfile.amzn
浏览文件 @
1c0e6983
FROM nvidia/build-base:amzn1
ARG VERSION_ID
FROM nvidia/base/amzn:${VERSION_ID}
# packaging
ARG PKG_VERS
...
...
@@ -17,7 +18,7 @@ COPY nvidia-container-runtime-hook/ $GOPATH/src/nvidia-container-runtime-hook
RUN go get -ldflags "-s -w" -v nvidia-container-runtime-hook && \
mv $GOPATH/bin/nvidia-container-runtime-hook $DIST_DIR/nvidia-container-runtime-hook
COPY config.toml.amzn
1
$DIST_DIR/config.toml
COPY config.toml.amzn $DIST_DIR/config.toml
WORKDIR $DIST_DIR/..
COPY rpm .
...
...
hook/Dockerfile.centos
7
→
hook/Dockerfile.centos
浏览文件 @
1c0e6983
FROM nvidia/build-base:centos7
ARG VERSION_ID
FROM nvidia/base/centos:${VERSION_ID}
# packaging
ARG PKG_VERS
...
...
@@ -17,7 +18,7 @@ COPY nvidia-container-runtime-hook/ $GOPATH/src/nvidia-container-runtime-hook
RUN go get -ldflags "-s -w" -v nvidia-container-runtime-hook && \
mv $GOPATH/bin/nvidia-container-runtime-hook $DIST_DIR/nvidia-container-runtime-hook
COPY config.toml.centos
7
$DIST_DIR/config.toml
COPY config.toml.centos $DIST_DIR/config.toml
WORKDIR $DIST_DIR/..
COPY rpm .
...
...
hook/Dockerfile.
stretch
→
hook/Dockerfile.
debian
浏览文件 @
1c0e6983
FROM nvidia/build-base:stretch
ARG VERSION_ID
FROM nvidia/base/debian:${VERSION_ID}
# packaging
ARG PKG_VERS
...
...
@@ -21,7 +22,7 @@ COPY nvidia-container-runtime-hook/ $GOPATH/src/nvidia-container-runtime-hook
RUN go get -ldflags "-s -w" -v nvidia-container-runtime-hook && \
mv $GOPATH/bin/nvidia-container-runtime-hook $DIST_DIR/nvidia-container-runtime-hook
COPY config.toml.
stretch
$DIST_DIR/config.toml
COPY config.toml.
debian
$DIST_DIR/config.toml
WORKDIR $DIST_DIR
COPY debian ./debian
...
...
hook/Dockerfile.
xenial
→
hook/Dockerfile.
ubuntu
浏览文件 @
1c0e6983
FROM nvidia/build-base:xenial
ARG VERSION_ID
FROM nvidia/base/ubuntu:${VERSION_ID}
# packaging
ARG PKG_VERS
...
...
@@ -21,7 +22,7 @@ COPY nvidia-container-runtime-hook/ $GOPATH/src/nvidia-container-runtime-hook
RUN go get -ldflags "-s -w" -v nvidia-container-runtime-hook && \
mv $GOPATH/bin/nvidia-container-runtime-hook $DIST_DIR/nvidia-container-runtime-hook
COPY config.toml.
xenial
$DIST_DIR/config.toml
COPY config.toml.
ubuntu
$DIST_DIR/config.toml
WORKDIR $DIST_DIR
COPY debian ./debian
...
...
hook/Makefile
浏览文件 @
1c0e6983
...
...
@@ -10,10 +10,32 @@ DIST_DIR := $(CURDIR)/../dist
.NOTPARALLEL
:
.PHONY
:
all
all
:
xenial centos7 stretch
amzn1
all
:
ubuntu16.04 debian9 centos7
amzn1
%
:
$(CURDIR)/Dockerfile.%
$(DOCKER)
build
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
ubuntu%
:
$(CURDIR)/Dockerfile.ubuntu
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime-hook:
$@
-f
Dockerfile.
$@
.
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
$@
:/dist:Z nvidia-container-runtime-hook:
$@
-t
"nvidia/hook/ubuntu:
$*
"
-f
Dockerfile.ubuntu .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
$@
:/dist:Z
"nvidia/hook/ubuntu:
$*
"
debian%
:
$(CURDIR)/Dockerfile.debian
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
"nvidia/hook/debian:
$*
"
-f
Dockerfile.debian .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
$@
:/dist:Z
"nvidia/hook/debian:
$*
"
centos%
:
$(CURDIR)/Dockerfile.centos
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
"nvidia/hook/centos:
$*
"
-f
Dockerfile.centos .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
$@
:/dist:Z
"nvidia/hook/centos:
$*
"
amzn%
:
$(CURDIR)/Dockerfile.amzn
$(DOCKER)
build
--build-arg
VERSION_ID
=
"
$*
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
"nvidia/hook/amzn:
$*
"
-f
Dockerfile.amzn .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
$@
:/dist:Z
"nvidia/hook/amzn:
$*
"
hook/config.toml.
centos7
→
hook/config.toml.
amzn
浏览文件 @
1c0e6983
文件已移动
hook/config.toml.
stretch
→
hook/config.toml.
centos
浏览文件 @
1c0e6983
文件已移动
hook/config.toml.debian
0 → 100644
浏览文件 @
1c0e6983
disable-require = false
#swarm-resource = "DOCKER_RESOURCE_GPU"
[nvidia-container-cli]
#root = "/run/nvidia/driver"
#path = "/usr/bin/nvidia-container-cli"
environment = []
#debug = "/var/log/nvidia-container-runtime-hook.log"
#ldcache = "/etc/ld.so.cache"
load-kmods = true
ldconfig = "@/sbin/ldconfig"
hook/config.toml.
xenial
→
hook/config.toml.
ubuntu
浏览文件 @
1c0e6983
文件已移动
runtime/Dockerfile.amzn
1
→
runtime/Dockerfile.amzn
浏览文件 @
1c0e6983
FROM nvidia/build-base:amzn1
ARG VERSION_ID
FROM nvidia/base/amzn:${VERSION_ID}
# runc dependencies
RUN yum install -y \
...
...
runtime/Dockerfile.centos
7
→
runtime/Dockerfile.centos
浏览文件 @
1c0e6983
FROM nvidia/build-base:centos7
ARG VERSION_ID
FROM nvidia/base/centos:${VERSION_ID}
# Install a more version of git (for vndr)
RUN yum install -y \
...
...
runtime/Dockerfile.
stretch
→
runtime/Dockerfile.
debian
浏览文件 @
1c0e6983
FROM nvidia/build-base:stretch
ARG VERSION_ID
FROM nvidia/base/debian:${VERSION_ID}
# runc dependencies
RUN apt-get update && apt-get install -y \
...
...
runtime/Dockerfile.
xenial
→
runtime/Dockerfile.
ubuntu
浏览文件 @
1c0e6983
FROM nvidia/build-base:xenial
ARG VERSION_ID
FROM nvidia/base/ubuntu:${VERSION_ID}
# runc dependencies
RUN apt-get update && apt-get install -y \
...
...
runtime/Makefile
浏览文件 @
1c0e6983
...
...
@@ -10,187 +10,71 @@ DIST_DIR := $(CURDIR)/../dist
.NOTPARALLEL
:
.PHONY
:
all
all
:
xenial centos7 stretch
all
:
ubuntu16.04 debian9 centos7 amzn1
xenial
:
17.12.1-xenial 17.12.0-xenial 17.09.1-xenial 17.09.0-xenial 17.06.2-xenial 17.03.2-xenial 1.13.1-xenial 1.12.6-xenial
ubuntu16.04
:
$(addsuffix -ubuntu16.04
,
17.12.1 17.12.0 17.09.1 17.09.0 17.06.2 17.03.2 1.13.1 1.12.6)
centos7
:
17.12.1-centos7 17.12.0-centos7 17.09.1-centos7 17.09.0-centos7 17.06.2-centos7 17.03.2-centos7 1.13.1-centos7 1.12.6-centos7
debian9
:
$(addsuffix -debian9
,
17.12.1 17.12.0 17.09.1 17.09.0 17.06.2 17.03.2)
stretch
:
17.12.1-stretch 17.12.0-stretch 17.09.1-stretch 17.09.0-stretch 17.06.2-stretch 17.03.2-stretch
centos7
:
$(addsuffix -centos7
,
17.12.1 17.12.0 17.09.1 17.09.0 17.06.2 17.03.2 1.13.1 1.12.6)
amzn1
:
17.09.1-amzn1 17.06.2-amzn1 17.03.2-amzn1
amzn1
:
$(addsuffix -amzn1
,
17.09.1 17.06.2 17.03.2)
17.12.1-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"9f9c96235cc97674e935002fc3d78361b696a69e"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.12.1"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.12.0-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"b2567b37d7b75eb4cf325b77297b140ea686ce8f"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.12.0"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.09.1-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.09.1"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.09.0-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.09.0"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.06.2-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"810190ceaa507aa2727d7ae6f4790c76ec150bd2"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.06.2"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.03.2-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.03.2"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.12.1-%-runc
:
echo
"9f9c96235cc97674e935002fc3d78361b696a69e"
1.13.1-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"9df8b306d01f59d3a8029be411de015b7304dd8f"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker1.13.1"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.12.0-%-runc
:
echo
"b2567b37d7b75eb4cf325b77297b140ea686ce8f"
1.12.6-xenial
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"50a19c6ff828c58e5dab13830bd3dacde268afe5"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker1.12.6"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.xenial .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/xenial:/dist:Z nvidia-container-runtime:
$@
17.09.1-%-runc 17.09.0-%-runc
:
echo
"3f2f8b84a77f73d38244dd690525642a72156c64"
17.12.1-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"9f9c96235cc97674e935002fc3d78361b696a69e"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.12.1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
17.06.2-%-runc
:
echo
"810190ceaa507aa2727d7ae6f4790c76ec150bd2"
17.12.0-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"b2567b37d7b75eb4cf325b77297b140ea686ce8f"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.12.0"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
17.03.2-%-runc
:
echo
"54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
17.09.1-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.09.1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
1.13.1-%-runc
:
echo
"9df8b306d01f59d3a8029be411de015b7304dd8f"
17.09.0-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.09.0"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
1.12.6-%-runc
:
echo
"50a19c6ff828c58e5dab13830bd3dacde268afe5"
17.06.2-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"810190ceaa507aa2727d7ae6f4790c76ec150bd2"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.06.2"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
17.03.2-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.03.2"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
1.13.1-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"9df8b306d01f59d3a8029be411de015b7304dd8f"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker1.13.1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
1.12.6-centos7
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"50a19c6ff828c58e5dab13830bd3dacde268afe5"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker1.12.6"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.centos7 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z nvidia-container-runtime:
$@
17.12.1-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"9f9c96235cc97674e935002fc3d78361b696a69e"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.12.1"
\
%-ubuntu16.04
:
runc
=
"
$(
shell
$(MAKE)
-s
$@
-runc
)
"
&&
\
$(DOCKER)
build
--build-arg
VERSION_ID
=
"16.04"
\
--build-arg
RUNC_COMMIT
=
"
$
${runc}
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker
$*
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/stretch:/dist:Z nvidia-container-runtime:
$@
17.12.0-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"b2567b37d7b75eb4cf325b77297b140ea686ce8f"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.12.0"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/stretch:/dist:Z nvidia-container-runtime:
$@
17.09.1-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.09.1"
\
-t
"nvidia/runtime/ubuntu:16.04-docker
$*
"
-f
Dockerfile.ubuntu .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/ubuntu16.04:/dist:Z
"nvidia/runtime/ubuntu:16.04-docker
$*
"
%-debian9
:
runc
=
"
$(
shell
$(MAKE)
-s
$@
-runc
)
"
&&
\
$(DOCKER)
build
--build-arg
VERSION_ID
=
"9"
\
--build-arg
RUNC_COMMIT
=
"
$
${runc}
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker
$*
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch
.
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
stretch:/dist:Z nvidia-container-runtime:
$@
-t
"nvidia/runtime/debian:9-docker
$*
"
-f
Dockerfile.debian
.
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/
debian9:/dist:Z
"nvidia/runtime/debian:9-docker
$*
"
17.09.0-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.09.0"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/stretch:/dist:Z nvidia-container-runtime:
$@
17.06.2-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"810190ceaa507aa2727d7ae6f4790c76ec150bd2"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.06.2"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/stretch:/dist:Z nvidia-container-runtime:
$@
17.03.2-stretch
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
+docker17.03.2"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.stretch .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/stretch:/dist:Z nvidia-container-runtime:
$@
17.09.1-amzn1
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"3f2f8b84a77f73d38244dd690525642a72156c64"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.09.1.amzn1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.amzn1 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/amzn1:/dist:Z nvidia-container-runtime:
$@
17.06.2-amzn1
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"810190ceaa507aa2727d7ae6f4790c76ec150bd2"
\
%-centos7
:
runc
=
"
$(
shell
$(MAKE)
-s
$@
-runc
)
"
&&
\
$(DOCKER)
build
--build-arg
VERSION_ID
=
"7"
\
--build-arg
RUNC_COMMIT
=
"
$
${runc}
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker17.06.2.amzn1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.amzn1 .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/amzn1:/dist:Z nvidia-container-runtime:
$@
17.03.2-amzn1
:
$(DOCKER)
build
--build-arg
RUNC_COMMIT
=
"54296cf40ad8143b62dbcaa1d90e520a2136ddfe"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker
$*
"
\
-t
"nvidia/runtime/centos:7-docker
$*
"
-f
Dockerfile.centos .
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/centos7:/dist:Z
"nvidia/runtime/centos:7-docker
$*
"
%-amzn1
:
runc
=
"
$(
shell
$(MAKE)
-s
$@
-runc
)
"
&&
\
$(DOCKER)
build
--build-arg
VERSION_ID
=
"1"
\
--build-arg
RUNC_COMMIT
=
"
$
${runc}
"
\
--build-arg
PKG_VERS
=
"
$(VERSION)
"
\
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker
17.03.2
.amzn1"
\
-t
nvidia-container-runtime:
$@
-f
Dockerfile.amzn1
.
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/amzn1:/dist:Z
nvidia-container-runtime:
$@
--build-arg
PKG_REV
=
"
$(PKG_REV)
.docker
$*
.amzn1"
\
-t
"nvidia/runtime/amzn:1-docker
$*
"
-f
Dockerfile.amzn
.
$(DOCKER)
run
--rm
-v
$(DIST_DIR)
/amzn1:/dist:Z
"nvidia/runtime/amzn:1-docker
$*
"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录