-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
150c776
commit e385d30
Showing
1 changed file
with
4 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
||
|
@@ -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 \ | ||
|
@@ -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 \ | ||
|