This repository has been archived by the owner on Jan 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update nvidia-docker to use new runtime
- Loading branch information
Renaud Gaubert
committed
Jul 22, 2019
1 parent
cd0f1e3
commit 1269921
Showing
8 changed files
with
44 additions
and
530 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,6 @@ ARG DOCKER_VERSION | |
ENV DEBFULLNAME "NVIDIA CORPORATION" | ||
ENV DEBEMAIL "[email protected]" | ||
ENV REVISION "$PKG_VERS-$PKG_REV" | ||
ENV RUNTIME_VERSION $RUNTIME_VERSION | ||
ENV DOCKER_VERSION $DOCKER_VERSION | ||
ENV SECTION "" | ||
|
||
|
@@ -33,7 +32,7 @@ COPY daemon.json $DIST_DIR/daemon.json | |
WORKDIR $DIST_DIR | ||
COPY debian ./debian | ||
|
||
RUN sed -i "s;@VERSION@;${REVISION#*+};" debian/changelog && \ | ||
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \ | ||
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi | ||
|
||
CMD export DISTRIB="unstable" && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,6 @@ ARG DOCKER_VERSION | |
ENV DEBFULLNAME "NVIDIA CORPORATION" | ||
ENV DEBEMAIL "[email protected]" | ||
ENV REVISION "$PKG_VERS-$PKG_REV" | ||
ENV RUNTIME_VERSION $RUNTIME_VERSION | ||
ENV DOCKER_VERSION $DOCKER_VERSION | ||
ENV SECTION "" | ||
|
||
|
@@ -35,8 +34,8 @@ WORKDIR $DIST_DIR | |
COPY debian ./debian | ||
|
||
|
||
RUN sed -i "s;@VERSION@;${REVISION#*+};" debian/changelog && \ | ||
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then exit 1; fi | ||
RUN sed -i "s;@VERSION@;${REVISION};" debian/changelog && \ | ||
if [ "$REVISION" != "$(dpkg-parsechangelog --show-field=Version)" ]; then echo "$(dpkg-parsechangelog --show-field=Version)" && exit 1; fi | ||
|
||
CMD export DISTRIB="$(lsb_release -cs)" && \ | ||
debuild --preserve-env --dpkg-buildpackage-hook='sh debian/prepare' -i -us -uc -b && \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters