Skip to content

Commit

Permalink
Updated Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bentsherman committed Jun 25, 2019
1 parent 150c776 commit e385d30
Showing 1 changed file with 4 additions and 62 deletions.
66 changes: 4 additions & 62 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,75 +1,17 @@
FROM nvidia/cuda:9.0-devel
FROM nvidia/cuda:10.0-devel
MAINTAINER Ben Shealy <[email protected]>

# install package dependencies
RUN apt-get update -qq \
&& apt-get install -qq -y \
wget xz-utils \
build-essential pkg-config libgl1-mesa-dev \
qt5-default \
clinfo git libgsl-dev liblapacke-dev libopenblas-dev libopenmpi-dev ocl-icd-opencl-dev \
python3-pip

# add NVIDIA platform to OpenCL
RUN mkdir -p /etc/OpenCL/vendors \
&& echo "libnvidia-opencl.so.1" > /etc/OpenCL/vendors/nvidia.icd

# install Qt
WORKDIR /opt

ENV QTDIR "/opt/Qt-5.11.1"
ENV PATH "$QTDIR/bin:$PATH"

RUN wget -q http://download.qt.io/official_releases/qt/5.11/5.11.1/single/qt-everywhere-src-5.11.1.tar.xz \
&& tar -xf qt-everywhere-src-5.11.1.tar.xz \
&& rm qt-everywhere-src-5.11.1.tar.xz \
&& cd qt-everywhere-src-5.11.1 \
&& ./configure -opensource -confirm-license -prefix $QTDIR \
-no-compile-examples \
-no-widgets \
-skip qt3d \
-skip qtactiveqt \
-skip qtandroidextras \
-skip qtcanvas3d \
-skip qtcharts \
-skip qtconnectivity \
-skip qtdatavis3d \
-skip qtdeclarative \
-skip qtdoc \
-skip qtgamepad \
-skip qtgraphicaleffects \
-skip qtimageformats \
-skip qtlocation \
-skip qtmacextras \
-skip qtmultimedia \
-skip qtnetworkauth \
-skip qtpurchasing \
-skip qtquickcontrols \
-skip qtquickcontrols2 \
-skip qtremoteobjects \
-skip qtscript \
-skip qtscxml \
-skip qtsensors \
-skip qtserialbus \
-skip qtserialport \
-skip qtspeech \
-skip qtsvg \
-skip qttools \
-skip qttranslations \
-skip qtvirtualkeyboard \
-skip qtwayland \
-skip qtwebchannel \
-skip qtwebengine \
-skip qtwebglplugin \
-skip qtwebsockets \
-skip qtwebview \
-skip qtwinextras \
-skip qtx11extras \
-skip qtxmlpatterns \
&& make -s -j $(nproc) \
&& make -s install \
&& cd .. \
&& rm -rf qt-everywhere-src-5.11.1

# install python dependencies
RUN pip3 install -q argparse matplotlib numpy pandas scipy seaborn

Expand All @@ -87,7 +29,7 @@ WORKDIR /opt

RUN git clone https://github.com/SystemsGenetics/ACE.git \
&& cd ACE/build \
&& git checkout v3.0.2 \
&& git checkout -q v3.1.0 \
&& qmake ../src/ACE.pro GUI=no \
&& make -s -j $(nproc) \
&& make -s qmake_all \
Expand All @@ -100,7 +42,7 @@ WORKDIR /opt

RUN git clone https://github.com/SystemsGenetics/KINC.git \
&& cd KINC/build \
&& git checkout v3.2.2 \
&& git checkout -q v3.3.0 \
&& qmake ../src/KINC.pro GUI=no \
&& make -s -j $(nproc) \
&& make -s qmake_all \
Expand Down

0 comments on commit e385d30

Please sign in to comment.