Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update and fix tensorflow dockerfile #331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions docker/tensorflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
from nvidia/cudagl:10.0-base-ubuntu18.04

ARG CUDA=10.0
ARG CUDNN=7.6.2.24-1

RUN apt-get update && apt-get install -y --no-install-recommends \
curl build-essential git cmake \
cuda-command-line-tools-10-0 \
cuda-cublas-10-0 \
cuda-cufft-10-0 \
cuda-curand-10-0 \
cuda-cusolver-10-0 \
cuda-cusparse-10-0 \
libcudnn7=${CUDNN}+cuda${CUDA} \
from nvidia/cudagl:11.4.2-base-ubuntu20.04

ARG CUDA=11.4
ARG CUDNN=8.2.4.15-1

RUN apt update && DEBIAN_FRONTEND=noninteractive apt install -y --no-install-recommends \
curl build-essential git cmake \
cuda-command-line-tools-11-4 \
libcublas-11-4 \
libcufft-11-4 \
libcurand-11-4 \
libcusolver-11-4 \
libcusparse-11-4 \
libcudnn8=${CUDNN}+cuda${CUDA} \
vim \
tmux \
libhdf5-dev \
Expand All @@ -31,6 +31,7 @@ RUN conda create -y -n igibson python=3.7

ENV PATH /miniconda/envs/igibson/bin:$PATH

RUN pip install protobuf==3.20.*
# NOTE: This needs to be updated in-step with the base cudagl image so the tensor renderer works
RUN pip install tensorflow-gpu==1.15.0

Expand Down