forked from cgat-developers/cgat-singlecell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
29 lines (22 loc) · 819 Bytes
/
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
# Dockerfile for the CGAT Code Collection
# http://www.cgat.org/
# Let us use an Ubuntu base image
FROM ubuntu:12.04
# Contact person
MAINTAINER Sebastian Luna Valero, [email protected]
# Install system dependencies
RUN apt-get update && apt-get install -y \
wget \
bzip2 \
fixincludes \
unzip
# Install CGAT code
RUN wget --no-check-certificate https://raw.github.com/CGATOxford/cgat/master/install-CGAT-tools.sh && \
mkdir /shared && \
bash install-CGAT-tools.sh --cgat-devel --zip --location /shared
# Set environment variables
ENV PATH=/shared/conda-install/envs/cgat-devel/bin:$PATH
# Add an entry point to the cgat command
ENTRYPOINT ["/shared/conda-install/envs/cgat-devel/bin/cgat"]
# Create a shared folder between docker container and host
VOLUME ["/shared/data"]