forked from ledatelescope/bifrost
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile_prereq.gpu
45 lines (36 loc) · 939 Bytes
/
Dockerfile_prereq.gpu
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
FROM nvidia/cuda:10.2-devel-ubuntu18.04
MAINTAINER Ben Barsdell <benbarsdell@gmail.com>
ARG DEBIAN_FRONTEND=noninteractive
# Get dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
curl \
git \
pkg-config \
software-properties-common \
python \
python-dev \
python-pip \
doxygen \
exuberant-ctags \
nano \
vim \
&& \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip --no-cache-dir install \
setuptools \
numpy \
matplotlib \
contextlib2 \
simplejson \
pint \
git+https://github.com/olsonse/ctypesgen.git@9bd2d249aa4011c6383a10890ec6f203d7b7990f \
graphviz
ENV TERM xterm
# Build the library
WORKDIR /bifrost
ENV LD_LIBRARY_PATH /usr/local/lib:${LD_LIBRARY_PATH}
# IPython
EXPOSE 8888
RUN ["/bin/bash"]