Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
get rid of ubuntu_build_cuda and point ubuntu_cu101 to base gpu inste…
Browse files Browse the repository at this point in the history
…ad of cuda compat
  • Loading branch information
ChaiBapchya committed Apr 28, 2020
1 parent 1c720fa commit 022e135
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
5 changes: 0 additions & 5 deletions ci/docker/Dockerfile.build.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,3 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
apt install -y --no-install-recommends \
cuda-10-1 && \
rm -rf /var/lib/apt/lists/*


FROM gpu as gpuwithcompatenv
# TVMOP requires /usr/local/cuda/compat is no LD_LIBRARY_PATH.
# This should be fixed and deleted.
13 changes: 1 addition & 12 deletions ci/docker/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,12 @@ services:
build:
context: .
dockerfile: Dockerfile.build.ubuntu
target: gpuwithcompatenv
target: gpu
args:
BASE_IMAGE: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
cache_from:
- build.ubuntu_gpu_cu101:latest
- mxnetci/build.ubuntu_gpu_cu101:latest
ubuntu_build_cuda:
image: build.ubuntu_build_cuda:latest
build:
context: .
dockerfile: Dockerfile.build.ubuntu
target: gpuwithcudaruntimelibs
args:
BASE_IMAGE: nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
cache_from:
- build.ubuntu_build_cuda:latest
- mxnetci/build.ubuntu_build_cuda:latest
###################################################################################################
# Dockerfile.publish.test based images used for testing binary artifacts on minimal systems.
###################################################################################################
Expand Down

0 comments on commit 022e135

Please sign in to comment.