Commit a44c2f32 authored by Felix Abecassis's avatar Felix Abecassis Committed by Gunhan Gulsoy
Browse files

Dockerfile.devel-gpu: optimize the size of the generated image (#15355)



- Use `nvidia/cuda:9.0-base-ubuntu16.04` as the base image to select
  just the CUDA libraries we need.
- Remove the installed static libraries.
- Remove the dependency on openjdk-8 since Bazel ships with a local copy.
- Perform a shallow clone of the repository.

The image is 2.94GB, down from 4.87GB.

Signed-off-by: default avatarFelix Abecassis <fabecassis@nvidia.com>
parent 73658420
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment