forked from jakirkham/docker_centos_drmaa_conda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
25 lines (20 loc) · 839 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 jakirkham/centos_conda:latest
MAINTAINER John Kirkham <[email protected]>
ADD gridengine /usr/share/gridengine
RUN /usr/share/gridengine/install_ge.sh
ENV SGE_CONFIG_DIR=/usr/share/gridengine \
SGE_ROOT=/usr/share/gridengine \
SGE_CELL=default \
DRMAA_LIBRARY_PATH=/usr/lib64/libdrmaa.so.1.0
RUN for PYTHON_VERSION in 2 3; do \
export INSTALL_CONDA_PATH="/opt/conda${PYTHON_VERSION}" && \
. "${INSTALL_CONDA_PATH}/etc/profile.d/conda.sh" && \
conda activate base && \
conda install -qy drmaa && \
conda clean -tipsy && \
conda deactivate && \
rm -rf ~/.conda ; \
done
ADD entrypoint.sh /usr/share/docker/entrypoint_2.sh
ENTRYPOINT [ "/opt/conda/bin/tini", "--", "/usr/share/docker/entrypoint.sh", "/usr/share/docker/entrypoint_2.sh" ]
CMD [ "/bin/bash" ]