-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
25 lines (18 loc) · 901 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
FROM dynverse/dynwrap_latest:v0.1.0
ARG GITHUB_PAT
# Patch was generated by making changes in the calista git repository,
# and then running:
# git diff --no-prefix > calista.patch
RUN apt-get update && apt-get install -y libcgal-dev libglu1-mesa-dev libglu1-mesa-dev libjpeg-dev libtiff-dev tcl-dev patch
RUN cd / && \
git clone https://github.com/CABSEL/CALISTA.git && \
cd CALISTA && \
git checkout 367d5bdbfa80796145a9feba0f1dffb144ac67bc && \
rm -rf .git && \
find . -type f \( -iname \*.zip -o -iname \*.csv -o -iname \*.txt \) -exec rm {} + && \
wget https://gist.githubusercontent.com/rcannood/ed97cacc2f373de6f3a6bb7320e2c677/raw/935044855cd204aee6eba821367b95669bb14784/calista.patch && \
patch -p0 < calista.patch
RUN Rscript /CALISTA/CALISTA-R/install_packs.R && \
rm -rf /tmp/*
COPY definition.yml run.R example.sh /code/
ENTRYPOINT ["/code/run.R"]