forked from angelovangel/nxf-ont
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathguppy-gpu.dockerfile
35 lines (31 loc) · 1.43 KB
/
guppy-gpu.dockerfile
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
# Set the base image to Ubuntu 16.04 and NVIDIA GPU
FROM nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04
ARG PACKAGE_VERSION=4.0.14
ARG BUILD_PACKAGES="wget apt-transport-https"
ARG DEBIAN_FRONTEND=noninteractive
# File Author / Maintainer
LABEL maintainer="[email protected]"
LABEL description="A docker image containing the ONT guppy_gpu version ${PACKAGE_VERSION}"
RUN apt-get update && \
apt-get install --yes $BUILD_PACKAGES \
libcurl4-openssl-dev \
libssl-dev \
libhdf5-cpp-11 \
libzmq5 \
libboost-atomic1.58.0 \
libboost-chrono1.58.0 \
libboost-date-time1.58.0 \
libboost-filesystem1.58.0 \
libboost-program-options1.58.0 \
libboost-regex1.58.0 \
libboost-system1.58.0 \
libboost-log1.58.0 \
libboost-iostreams1.58.0 \
wget && \
cd /tmp &&\
wget -q https://mirror.oxfordnanoportal.com/software/analysis/ont_guppy_${PACKAGE_VERSION}-1~xenial_amd64.deb && \
dpkg -i --ignore-depends=nvidia-384,libcuda1-384 /tmp/ont_guppy_${PACKAGE_VERSION}-1~xenial_amd64.deb && \
rm *.deb && \
apt-get autoremove --purge --yes && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*