-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
37 lines (31 loc) · 951 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
30
31
32
33
34
35
36
37
FROM ubuntu@sha256:cc4755a9f2f76ca73055da11f1bdc01d65ce79202a68b041c67c32770c71954b
# ubuntu:xenial-20200706 amd64
LABEL description="Dockerfile for PTWAS (GAMBIT tool)" \
author="[email protected]"
USER root
RUN apt-get update && \
apt-get install -y \
build-essential \
git \
autoconf \
zlib1g-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev \
libssl-dev \
libgsl0-dev \
libperl-dev \
procps \
curl \
tabix \
jq
RUN git clone https://github.com/corbinq/GAMBIT.git
RUN chmod +x GAMBIT/bin/GAMBIT
ENV PATH="$PATH:GAMBIT/bin/"
# Copy additional scripts
## bin/report/ files will be flatly copied into bin/ (no report folder)
RUN mkdir /opt/bin/
COPY bin/* /opt/bin/
RUN chmod +x /opt/bin/*
ENV PATH="$PATH:/opt/bin/"
ENTRYPOINT ["bash"]