Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Add debian10 support
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Jacobelli <[email protected]>
  • Loading branch information
jjacobelli committed Aug 21, 2019
1 parent bd60b23 commit d799370
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ DIST_DIR := $(CURDIR)/dist
.NOTPARALLEL:
.PHONY: all

all: ubuntu18.04 ubuntu16.04 debian9 centos7 amzn2 amzn1
all: ubuntu18.04 ubuntu16.04 debian10 debian9 centos7 amzn2 amzn1

ubuntu18.04: ARCH := amd64
ubuntu18.04:
Expand Down Expand Up @@ -40,6 +40,19 @@ ubuntu16.04:
$(DOCKER) cp $$(cat $@.cid):/dist/. $(DIST_DIR)/ubuntu16.04/$(ARCH)
$(DOCKER) rm $$(cat $@.cid) && rm $@.cid

debian10: ARCH := amd64
debian10:
$(DOCKER) build --build-arg VERSION_ID="10" \
--build-arg DOCKER_VERSION="docker-ce (>= 18.06.0~ce~3-0~debian) | docker-ee (>= 18.06.0~ce~3-0~debian) | docker.io (>= 18.06.0)" \
--build-arg RUNTIME_VERSION="$(RUNTIME_VERSION)" \
--build-arg PKG_VERS="$(VERSION)" \
--build-arg PKG_REV="$(PKG_REV)" \
-t "nvidia/nvidia-docker2/debian:10" -f Dockerfile.debian .
$(MKDIR) -p $(DIST_DIR)/debian10/$(ARCH)
$(DOCKER) run --cidfile $@.cid "nvidia/nvidia-docker2/debian:10"
$(DOCKER) cp $$(cat $@.cid):/dist/. $(DIST_DIR)/debian10/$(ARCH)
$(DOCKER) rm $$(cat $@.cid) && rm $@.cid

debian9: ARCH := amd64
debian9:
$(DOCKER) build --build-arg VERSION_ID="9" \
Expand Down

0 comments on commit d799370

Please sign in to comment.